Skip to content

Vecglypher

Integrate

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

This request: $0.005 5 API credits Run it on this page

Get API key
Open model Text to Image

Generates vector glyphs as SVG paths from text plus a typographic style description

Open model · Image

Your first result goes here

Build a request below and run it with your API key. Outputs are copied to our storage, kept forever or 7 days for free.

Build a request

Controls are generated from the model schema. The code and the price update as you change them.

•required

Text for vector-glyph generation, with one SVG path element produced per character.

Advanced style_description · fill_color · stroke_color · temperature · top_p · top_k · repetition_penalty · max_tokens · output_size · stroke_width · seed · enable_safety_checker
default italic style, 400 wei...

Description of the font's appearance in typographic terms: weight from 100 to 900; style such as italic or oblique; category such as serif, sans-serif, display, handwriting, or monospace; and traits such as geometric, humanist, condensed, or rounded.

default black

Glyph fill specified using any color notation supported by SVG/CSS.

Glyph outline setting: supplying this optional color adds a stroke around every generated glyph path.

default 0.1

Temperature used during sampling; reducing it makes output more deterministic.

default 0.95

Nucleus sampling control (top-p).

default 5

Setting for top-k sampling.

default 1

Penalty discouraging repetition of SVG path segments.

default 8192

Upper limit on generated tokens. Raise it to accommodate longer text.

default 512

SVG size limit in pixels, applied to whichever dimension is larger while keeping width and height proportional.

default 1

Outline thickness, effective only with a specified stroke_color and measured using SVG units.

Seed controlling randomness for reproducible results.

POST /run/vecglypher?wait=20 quote → $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"

Run this request

Your key stays in this browser: it is sent only to the Doitong API and saved (localStorage) only if you tick Remember. Get an API key

About Vecglypher

Renders the characters in `prompt` as separate SVG path elements, steered by a `style_description` using terms like weight, italic, serif or sans-serif. `output_size` sets the maximum SVG dimension from 64 to 4096 px. `fill_color`, `stroke_color` and `stroke_width` control appearance. Sampling settings such as `temperature` and `top_k` are exposed, and `max_tokens` can be raised for longer text.

Parameters

NameType DefaultAllowed Description
promptrequired
Typestring
Text for vector-glyph generation, with one SVG path element produced per character.
style_descriptionoptional
Typestring
Defaultitalic style, 400 weight, serif, text, elegant
Description of the font's appearance in typographic terms: weight from 100 to 900; style such as italic or oblique; category such as serif, sans-serif, display, handwriting, or monospace; and traits such as geometric, humanist, condensed, or rounded.
temperatureoptional
Typenumber
Default0.1
0 – 2
Temperature used during sampling; reducing it makes output more deterministic.
seedoptional
Typeinteger | null
Seed controlling randomness for reproducible results.
enable_safety_checkeroptional
Typeboolean
Defaulttrue
Enables safety checks on the input.
top_poptional
Typenumber
Default0.95
0 – 1
Nucleus sampling control (top-p).
top_koptional
Typeinteger
Default5
-1 – 100
Setting for top-k sampling.
repetition_penaltyoptional
Typenumber
Default1
0 – 2
Penalty discouraging repetition of SVG path segments.
max_tokensoptional
Typeinteger
Default8192
256 – 16,384
Upper limit on generated tokens. Raise it to accommodate longer text.
output_sizeoptional
Typeinteger
Default512
64 – 4,096
SVG size limit in pixels, applied to whichever dimension is larger while keeping width and height proportional.
fill_coloroptional
Typestring
Defaultblack
Glyph fill specified using any color notation supported by SVG/CSS.
stroke_coloroptional
Typestring | null
Glyph outline setting: supplying this optional color adds a stroke around every generated glyph path.
stroke_widthoptional
Typenumber
Default1
0.1 – 50
Outline thickness, effective only with a specified stroke_color and measured using SVG units.
required

Output

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"
  }
}
Your files, your choiceEvery outputs[].url is a copy on our storage: kept forever (paid per GB-month) or 7 days for free, by your account setting or ?storage=.
Same shape on every modeltype, url, content_type, width, height and duration, for images, video and audio alike. output is the model’s own result object.
Fields of output
image
anySVG file holding the generated vector glyphs.
svg_content
stringString containing the raw SVG markup.
seed
integerSeed value applied during generation.
timings
objectGeneration timings broken down by processing stage.

More models: Text to Image

For AI agents: this page as Markdown is at https://doitong.com/en-US/developers/models/vecglypher.md. All models and guides: https://doitong.com/developers/llms.txt