Dža ko lil

Vecglypher · Image to SVG

Integriruj

Modelosko id vecglypher/image-to-svg
# 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/image-to-svg?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",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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"

Kava mangipen: $0.005 5 API krediti Phir les kate

Lel API klidin
Open model Editime e kipesko Referencaki inputura

Kerel SVG glyphǎ ano stilo 1 dži 8 reference-glyph-imajinengo, na tekstutne stilake deskripcija

Open model · Kip

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul

Teksto savo karakter-a aven vector glyphs, reference kiponge style reprodukuje.

•trubul reference_image_urls
Čhiv jekh fajl, vaj · dži 8

Style reference-ja del 1 to 8 kiponge URL-enca, jekhe glyph karakterosa sako kipo ande. Lengero dikhipen guidujel generirime glyph style.

Lučhe fill_color · stroke_color · temperature · top_p · top_k · repetition_penalty · max_tokens · output_size · stroke_width · seed · enable_safety_checker
standardno black

Glyph fill specifikime savorre rangoske notacijasa savo SVG/CSS suportujel.

Glyph outline setting: kana des optionalno rangi, thov stroke savore generirime glyph path-enge.

standardno 0.1

Temperature samplingoske.

standardno 0.95

Nucleus sampling kontrola (top-p).

standardno 5

Setting top-k sampling-eskiri.

standardno 1

Penalty thovdo palemkeripenge.

standardno 8192

Generirime tokenongi upruno limitos.

standardno 512

SVG size limit ande pixel-a, thovdo pro majbar dimension, proportionalno width thaj height mukindoj.

standardno 1

Outline thickness, efektivno numa specified stroke_color-esa thaj merime SVG units-enca.

Seed savo kontrolinel e slučajnost vaš ponovljive rezultatora.

POST /run/vecglypher/image-to-svg?wait=20 hesab → $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/image-to-svg?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",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Vecglypher · Image to SVG

Ramosarel o tekst ano `prompt` sar vektor-glyphǎ save si sarutne e stilosa 1 dži 8 reference-glyph-imajinenqe ano `reference_image_urls`, jekhesa jekhe karakteresa. O rezultato si SVG pathǎ, velikosasa setome katar `output_size` 64 dži 4096 px. `fill_color`, `stroke_color` thaj `stroke_width` setinen o dikhlipe, thaj sampling-kontrolǎ sar `temperature` thaj `max_tokens` si dostupne.

Parametra

Bičhalav vaj e kanonikano nav vaj e native nav, na duj. Kanonikane nava

NavTip standardnoMuklo Vakeripe
prompttrubul
Tipstring
Teksto savo karakter-a aven vector glyphs, reference kiponge style reprodukuje.
reference_image_urlstrubul images
Tipurl[] · image
≤ 8 artiklura
Style reference-ja del 1 to 8 kiponge URL-enca, jekhe glyph karakterosa sako kipo ande. Lengero dikhipen guidujel generirime glyph style.
temperatureopcionalno
Tipnumber
standardno0.1
0 – 2
Temperature samplingoske.
seedopcionalno
Tipinteger | null
Seed savo kontrolinel e slučajnost vaš ponovljive rezultatora.
enable_safety_checkeropcionalno
Tipboolean
standardnotrue
Aktivirinel safety-check-a inputoske.
top_popcionalno
Tipnumber
standardno0.95
0 – 1
Nucleus sampling kontrola (top-p).
top_kopcionalno
Tipinteger
standardno5
-1 – 100
Setting top-k sampling-eskiri.
repetition_penaltyopcionalno
Tipnumber
standardno1
0 – 2
Penalty thovdo palemkeripenge.
max_tokensopcionalno
Tipinteger
standardno8192
256 – 16,384
Generirime tokenongi upruno limitos.
output_sizeopcionalno
Tipinteger
standardno512
64 – 4,096
SVG size limit ande pixel-a, thovdo pro majbar dimension, proportionalno width thaj height mukindoj.
fill_coloropcionalno
Tipstring
standardnoblack
Glyph fill specifikime savorre rangoske notacijasa savo SVG/CSS suportujel.
stroke_coloropcionalno
Tipstring | null
Glyph outline setting: kana des optionalno rangi, thov stroke savore generirime glyph path-enge.
stroke_widthopcionalno
Tipnumber
standardno1
0.1 – 50
Outline thickness, efektivno numa specified stroke_color-esa thaj merime SVG units-enca.
trubul Kanonikano nav, vi akceptime

Fajloske parametra lel jekh publikano https:// URL, jekh data: URI dži 10 MB, vaj e file_url uploadoski. Fajlura

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "vecglypher/image-to-svg",
  "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",
    "reference_image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "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"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
image
anySVG fajlo savo lel generirime vector glyphs.
svg_content
stringString savo lel raw SVG markup.
seed
integerSeed-valoro aplikovano ko generiripe.
timings
objectKeripaski timing-a phandade palal processing stage.

Bute modeli: Editime e kipesko

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/vecglypher/image-to-svg.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt