コンテンツへスキップ

Vecglypher

統合

モデル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"

このリクエスト: $0.005 5 APIクレジット このページで実行

APIキーを取得

テキストとタイポグラフィスタイルの説明から、SVGパスとしてベクターグリフを生成します

Open model · 画像

最初の結果がここに表示されます

以下でリクエストを作成し、APIキーで実行してください。出力はストレージにコピーされ、永久保存または無料で7日保存されます。

リクエストを作成

コントロールはモデルスキーマから生成されます。値を変更するとコードと価格が更新されます。

•必須

ベクターグリフ生成用テキスト。各文字につき1つのSVG path要素が生成されます。

詳細設定 style_description · fill_color · stroke_color · temperature · top_p · top_k · repetition_penalty · max_tokens · output_size · stroke_width · seed · enable_safety_checker
デフォルト italic style, 400 wei...

フォントの外観をタイポグラフィ用語で表した説明。ウェイトは100~900、スタイルはitalicやobliqueなど、カテゴリはserif、sans-serif、display、handwriting、monospaceなど、特徴はgeometric、humanist、condensed、roundedなどです。

デフォルト black

SVG/CSSでサポートされる任意の色表記によるグリフの塗りつぶし。

グリフのアウトライン設定。この任意の色を指定すると、生成された各グリフパスの周囲にstrokeが追加されます。

デフォルト 0.1

サンプリング時のtemperature。下げると出力がより決定論的になります。

デフォルト 0.95

Nucleus samplingの制御(top-p)。

デフォルト 5

top-k samplingの設定。

デフォルト 1

SVG pathセグメントの繰り返しを抑制するペナルティ。

デフォルト 8192

生成トークン数の上限。長いテキストに対応するには増やします。

デフォルト 512

SVGのピクセルサイズ上限。幅と高さの比率を維持しながら、長い方の寸法に適用されます。

デフォルト 1

アウトラインの太さ。stroke_colorを指定した場合のみ有効で、SVG単位で測定されます。

再現可能な結果のために乱数を制御するシード。

POST /run/vecglypher?wait=20 見積もり → $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"

このリクエストを実行

キーはこのブラウザ内に保持されます。Doitong APIにのみ送信され、「記憶する」にチェックを入れた場合のみlocalStorageに保存されます。 APIキーを取得

Vecglypherについて

`prompt` 内の文字を個別の SVG パス要素としてレンダリングし、重み、italic、serif、sans-serif などの用語を使う `style_description` で制御します。`output_size` は SVG の最大寸法を 64 から 4096 px に設定します。`fill_color`、`stroke_color`、`stroke_width` で外観を制御します。`temperature` や `top_k` などのサンプリング設定を利用でき、`max_tokens` を増やして長いテキストにも対応できます。

パラメータ

名前型 デフォルト許可される値 説明
prompt必須
型string
ベクターグリフ生成用テキスト。各文字につき1つのSVG path要素が生成されます。
style_description任意
型string
デフォルトitalic style, 400 weight, serif, text, elegant
フォントの外観をタイポグラフィ用語で表した説明。ウェイトは100~900、スタイルはitalicやobliqueなど、カテゴリはserif、sans-serif、display、handwriting、monospaceなど、特徴はgeometric、humanist、condensed、roundedなどです。
temperature任意
型number
デフォルト0.1
0 – 2
サンプリング時のtemperature。下げると出力がより決定論的になります。
seed任意
型integer | null
再現可能な結果のために乱数を制御するシード。
enable_safety_checker任意
型boolean
デフォルトtrue
入力の安全性チェックを有効にします。
top_p任意
型number
デフォルト0.95
0 – 1
Nucleus samplingの制御(top-p)。
top_k任意
型integer
デフォルト5
-1 – 100
top-k samplingの設定。
repetition_penalty任意
型number
デフォルト1
0 – 2
SVG pathセグメントの繰り返しを抑制するペナルティ。
max_tokens任意
型integer
デフォルト8192
256 – 16,384
生成トークン数の上限。長いテキストに対応するには増やします。
output_size任意
型integer
デフォルト512
64 – 4,096
SVGのピクセルサイズ上限。幅と高さの比率を維持しながら、長い方の寸法に適用されます。
fill_color任意
型string
デフォルトblack
SVG/CSSでサポートされる任意の色表記によるグリフの塗りつぶし。
stroke_color任意
型string | null
グリフのアウトライン設定。この任意の色を指定すると、生成された各グリフパスの周囲にstrokeが追加されます。
stroke_width任意
型number
デフォルト1
0.1 – 50
アウトラインの太さ。stroke_colorを指定した場合のみ有効で、SVG単位で測定されます。
必須

出力

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"
  }
}
ファイルの保存期間を選択すべてのoutputs[].urlはストレージ上のコピーです。アカウント設定または?storage=により、永久保存(GB・月単位で有料)または無料で7日保存できます。
すべてのモデルで同じ形式画像、動画、音声のいずれでも、type、url、content_type、width、height、durationが含まれます。outputはモデル独自の結果オブジェクトです。
出力フィールド
image
any生成されたベクターグリフを格納するSVGファイル。
svg_content
string生のSVGマークアップを含む文字列。
seed
integer生成時に適用したシード値。
timings
object処理ステージ別に分けた生成時間。

その他のモデル: テキストから画像

AIエージェント向け:このページのMarkdown版はこちらです: https://doitong.com/ja/developers/models/vecglypher.md. すべてのモデルとガイド: https://doitong.com/developers/llms.txt