Peke ki ngā ihirangi

Vecglypher

Whakauru

id tauira vecglypher
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/vecglypher?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: $ 0.005 5 whiwhinga API · ≈ ₽ 0.53 Whakahaerehia ki tēnei whārangi

Tikina he kī API
Open model · Atahanga

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Kuputuhi mō te whakaputa glyph vector, kotahi huānga ara SVG mō ia pūāhua.

Arā atu style_description · fill_color · stroke_color · temperature · top_p · top_k · repetition_penalty · max_tokens · output_size · stroke_width · seed · enable_safety_checker
taunoa italic style, 400 wei...

Whakaahuatanga o te āhua momotuhi i ngā kupu tuhi: taumaha mai i te 100 ki te 900; kāhua pērā i te italic, oblique rānei; kāwai pērā i te serif, sans-serif, display, handwriting, monospace rānei; me ngā āhuatanga pērā i te geometric, humanist, condensed, rounded rānei.

taunoa black

Whakakī glyph kua tohua mā ngā tuhipoka tae e tautokona ana e SVG/CSS.

Tautuhinga tapa glyph: mā te tuku i tēnei tae kōwhiringa ka tāpirihia he whiu huri noa i ia ara glyph i whakaputaina.

taunoa 0.1

Pāmahana i whakamahia i te sampling; mā te whakaheke ka tino tau te putanga.

taunoa 0.95

Whakahaere sampling nucleus (top-p).

taunoa 5

Te tautuhinga mō te tīpako top-k.

taunoa 1

Whiu hei aukati i te tukurua o ngā wāhanga ara SVG.

taunoa 8192

Te mōrahi o ngā tohu i whakaputaina. Whakanuia hei whakauru i te kuputuhi roa ake.

taunoa 512

Tepe rahinga SVG ki ngā pika, ka pā ki te ahunga nui ake me te pupuri i te ōwehenga o te whānui me te teitei.

taunoa 1

Mātotoru tapa, ka whai hua anake ina tohua he stroke_color, ā, ka inea mā ngā wae SVG.

Kākano hei whakahaere i te matapōkeretanga mō ngā putanga ka taea te tārua.

POST /run/vecglypher?wait=20 utu → $ 0.005
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/vecglypher?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Vecglypher

Ka whakaputa i ngā pūāhua o `prompt` hei huānga ara SVG motuhake, ka arahina e `style_description` me ngā kupu pēnei i taumaha, italic, serif, sans-serif rānei. Mā `output_size` e whakarite te rahinga SVG mōrahi mai i te 64 ki te 4096 px. Mā `fill_color`, `stroke_color` me `stroke_width` e whakahaere te āhua. Kei te wātea ngā tautuhinga tīpako pēnei i `temperature` me `top_k`, ā, ka taea te whakapiki `max_tokens` mō te kuputuhi roa ake.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
prompte hiahiatia ana
Momostring
Kuputuhi mō te whakaputa glyph vector, kotahi huānga ara SVG mō ia pūāhua.
style_descriptionkōwhiringa
Momostring
Taunoaitalic style, 400 weight, serif, text, elegant
Whakaahuatanga o te āhua momotuhi i ngā kupu tuhi: taumaha mai i te 100 ki te 900; kāhua pērā i te italic, oblique rānei; kāwai pērā i te serif, sans-serif, display, handwriting, monospace rānei; me ngā āhuatanga pērā i te geometric, humanist, condensed, rounded rānei.
temperaturekōwhiringa
Momonumber
Taunoa0.1
0 – 2
Pāmahana i whakamahia i te sampling; mā te whakaheke ka tino tau te putanga.
seedkōwhiringa
Momointeger | null
Kākano hei whakahaere i te matapōkeretanga mō ngā putanga ka taea te tārua.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
Ka whakakā i ngā taki-haumaru mō te tāuru.
top_pkōwhiringa
Momonumber
Taunoa0.95
0 – 1
Whakahaere sampling nucleus (top-p).
top_kkōwhiringa
Momointeger
Taunoa5
-1 – 100
Te tautuhinga mō te tīpako top-k.
repetition_penaltykōwhiringa
Momonumber
Taunoa1
0 – 2
Whiu hei aukati i te tukurua o ngā wāhanga ara SVG.
max_tokenskōwhiringa
Momointeger
Taunoa8192
256 – 16,384
Te mōrahi o ngā tohu i whakaputaina. Whakanuia hei whakauru i te kuputuhi roa ake.
output_sizekōwhiringa
Momointeger
Taunoa512
64 – 4,096
Tepe rahinga SVG ki ngā pika, ka pā ki te ahunga nui ake me te pupuri i te ōwehenga o te whānui me te teitei.
fill_colorkōwhiringa
Momostring
Taunoablack
Whakakī glyph kua tohua mā ngā tuhipoka tae e tautokona ana e SVG/CSS.
stroke_colorkōwhiringa
Momostring | null
Tautuhinga tapa glyph: mā te tuku i tēnei tae kōwhiringa ka tāpirihia he whiu huri noa i ia ara glyph i whakaputaina.
stroke_widthkōwhiringa
Momonumber
Taunoa1
0.1 – 50
Mātotoru tapa, ka whai hua anake ina tohua he stroke_color, ā, ka inea mā ngā wae SVG.
e hiahiatia ana

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "vecglypher",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 5,
    "usd": "0.005",
    "charged": 5,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "svg_content": "string",
    "seed": 42,
    "timings": {}
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
image
anyKōnae SVG kei roto ngā glyph vector i whakaputaina.
svg_content
stringHe aho kei roto te tohu SVG mata.
seed
integerTe uara kākano i whakamahia i te whakaputanga.
timings
objectNgā wā whakaputa kua wāwāhia ki ia wāhanga tukatuka.

Ētahi atu tauira: Kuputuhi ki te Atahanga

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/vecglypher.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt