Njuolgga sisdollui

Vecglypher

Integrere

Modealla-id vecglypher
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Dát ohcamuš: 0,005 $ 5 API-kreditta Vuodje dán siiddu alde

Oza API-čoavdaga
Open model Teakstas gova

Ráhkada vektorglyphaid SVG-geaidnuin tekstas ja typográfalaš stiiladulkoma vuođul

Open model · Govva

Dát lea du vuosttaš bohtos

Daga jearaldaga vuolábealde ja vuodje dan iežat API-čoavddain. Boađusat kopierejuvvojit min vurkemii, bisuhuvvojit álo dahje 7 beaivvi nuvttá.

Ráhkat jearaldaga

Kontrollat ráhkaduvvojit modealla skeama vuođul. Koda ja haddi ođasmahttojuvvojit go rievddadat daid.

•gáibiduvvo

Teaksta vektor-glyph:ráhkadeapmái, ovtta SVG path-elementtain juohke mearkka várás.

Viiddiduvvon style_description · fill_color · stroke_color · temperature · top_p · top_k · repetition_penalty · max_tokens · output_size · stroke_width · seed · enable_safety_checker
standárda italic style, 400 wei...

Čilgehus fonta hámi birra typográfalaš tearpmain: deaddu 100 rájes 900 rádjái; stiila nugo italic dahje oblique; kategoriija nugo serif, sans-serif, display, handwriting dahje monospace; ja iešvuođat nugo geometriijalaš, humanist, čoahkkanan dahje geardun.

standárda black

Glyph:a deivvohus, geavahuvvon dainna ivdni­notá­šuvnnain maid SVG/CSS doarjja.

Glyph:a rádjeheivehus: lasit dán molssaeaktolaš ivnni, vai juohke ráhkaduvvon glyph-path:a birra boahtá stroke.

standárda 0.1

Temperatuvra samplinga oktavuođas; dan unnideapmi dahká boa­dusa eanet deterministtalažžan.

standárda 0.95

Nucleus-sampling stivren (top-p).

standárda 5

Top-k-sampling heiveheapmi.

standárda 1

Čuoldin mii hedjon SVG-path-oasiid geardduheami.

standárda 8192

Ráhkaduvvon token:aid bajimus lohku. Lasi dan guhkes teavsttaid várás.

standárda 512

SVG-sturrodaga rádji pikseliin, geavahuvvon stuorimus dimenšuvnnaide ja seailluhit govtti sturrodagaid gaskavuođa.

standárda 1

Rádje­garrudat, mii doaibmá dušše meroštallojuvvon stroke_color:in ja mihtiduvvo SVG-unitiin.

Seed mii stivre sluččadusa, nu ahte boađus sáhttá ođđasit ráhkaduvvot.

POST /run/vecglypher?wait=20 haddemearrádus → 0,005 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Geavat dán ohcamuša

Du key báhcá dán fierpmádatlogan: dat sáddejuvvo dušše Doitong API:ii ja vurkejuvvo (localStorage) dušše jos válljet Remember. Viečča API-keya

Dát lea Vecglypher birra

Rendera `prompt`-a bustávaid sierra SVG-geaidnuelementan, ja `style_description` stivre daid tearpmain nugo deaddu, italic, serif dahje sans-serif. `output_size` bidjá SVG:a stuorámus dimenšuvnna 64 rájes 4096 px rádjái. `fill_color`, `stroke_color` ja `stroke_width` stivre láhttema. Sampling-sajádatat nugo `temperature` ja `top_k` leat geavahusas, ja `max_tokens` sáhttá loktejuvvot guhkit tekstii.

Parametterat

NammaŠládja StandárdaDohkkehuvvon Govvádus
promptgáibiduvvo
Šládjastring
Teaksta vektor-glyph:ráhkadeapmái, ovtta SVG path-elementtain juohke mearkka várás.
style_descriptioneaktodáhtolaš
Šládjastring
Standárdaitalic style, 400 weight, serif, text, elegant
Čilgehus fonta hámi birra typográfalaš tearpmain: deaddu 100 rájes 900 rádjái; stiila nugo italic dahje oblique; kategoriija nugo serif, sans-serif, display, handwriting dahje monospace; ja iešvuođat nugo geometriijalaš, humanist, čoahkkanan dahje geardun.
temperatureeaktodáhtolaš
Šládjanumber
Standárda0.1
0 – 2
Temperatuvra samplinga oktavuođas; dan unnideapmi dahká boa­dusa eanet deterministtalažžan.
seedeaktodáhtolaš
Šládjainteger | null
Seed mii stivre sluččadusa, nu ahte boađus sáhttá ođđasit ráhkaduvvot.
enable_safety_checkereaktodáhtolaš
Šládjaboolean
Standárdatrue
Aktivere bealu­steami sisa-addi várás.
top_peaktodáhtolaš
Šládjanumber
Standárda0.95
0 – 1
Nucleus-sampling stivren (top-p).
top_keaktodáhtolaš
Šládjainteger
Standárda5
−1 – 100
Top-k-sampling heiveheapmi.
repetition_penaltyeaktodáhtolaš
Šládjanumber
Standárda1
0 – 2
Čuoldin mii hedjon SVG-path-oasiid geardduheami.
max_tokenseaktodáhtolaš
Šládjainteger
Standárda8192
256 – 16 384
Ráhkaduvvon token:aid bajimus lohku. Lasi dan guhkes teavsttaid várás.
output_sizeeaktodáhtolaš
Šládjainteger
Standárda512
64 – 4 096
SVG-sturrodaga rádji pikseliin, geavahuvvon stuorimus dimenšuvnnaide ja seailluhit govtti sturrodagaid gaskavuođa.
fill_coloreaktodáhtolaš
Šládjastring
Standárdablack
Glyph:a deivvohus, geavahuvvon dainna ivdni­notá­šuvnnain maid SVG/CSS doarjja.
stroke_coloreaktodáhtolaš
Šládjastring | null
Glyph:a rádjeheivehus: lasit dán molssaeaktolaš ivnni, vai juohke ráhkaduvvon glyph-path:a birra boahtá stroke.
stroke_widtheaktodáhtolaš
Šládjanumber
Standárda1
0,1 – 50
Rádje­garrudat, mii doaibmá dušše meroštallojuvvon stroke_color:in ja mihtiduvvo SVG-unitiin.
gáibiduvvo

Boađus

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Du fiillat, du válljenJuohke outputs[].url lea kopia min vurkemis: bisuhuvvo álo (mákso GB-mánu mielde) dahje 7 beaivvi nuvttá, du konto­o heiveheami dahje ?storage= mielde.
Seammá hápmi juohke modeallastype, url, content_type, width, height ja duration, govvii, videoii ja jienai seammá ládje. output lea modealla iežas boađusobjekta.
Outputa giettit
image
anySVG-fiila, mii sisttisdoallá ráhkaduvvon vektor-glyph:aid.
svg_content
stringString, mii sisttisdoallá raw SVG-markup:a.
seed
integerRáhkadeamis geavahuvvon sádjiárvu.
timings
objectRáhkadanáiggiid mihtideamit, juohkásan gieđahallan­ceahkiid mielde.

Eanet modeallat: Teakstas gova

AI-agenttaide: dán siidu Markdowna lea dáppe https://doitong.com/se/developers/models/vecglypher.md. Buot modeallat ja ráđit: https://doitong.com/developers/llms.txt