အကြောင်းအရာသို့ ကျော်ရန်

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"

ဤတောင်းဆိုချက်: ၀.၀၀၅ $ ၅ API ခရက်ဒစ် ဤစာမျက်နှာတွင် လုပ်ဆောင်ရန်

API ကီး ရယူရန်

စာသားနှင့် စာလုံးပုံစံဖော်ပြချက်မှ SVG path များအဖြစ် ဗက်တာ glyph များကို ဖန်တီးပေးသည်

Open model · ပုံ

သင့်ပထမဆုံးရလဒ် ဤနေရာတွင် ပေါ်လာမည်

အောက်တွင် တောင်းဆိုချက်တစ်ခု တည်ဆောက်ပြီး သင့် API ကီးဖြင့် လုပ်ဆောင်ပါ။ ထွက်ရလဒ်များကို ကျွန်ုပ်တို့၏ သိုလှောင်မှုသို့ ကူးယူပြီး အမြဲတမ်း သို့မဟုတ် ၇ ရက် အခမဲ့ သိမ်းထားသည်။

တောင်းဆိုမှုတစ်ခု တည်ဆောက်ရန်

ထိန်းချုပ်မှုများကို မော်ဒယ် schema မှ အလိုအလျောက်ဖန်တီးသည်။ ၎င်းတို့ကို ပြောင်းလဲသည်နှင့် code နှင့် စျေးနှုန်းတို့လည်း ပြောင်းလဲမည်။

•လိုအပ်သည်

Vector-glyph ဖန်တီးမှုအတွက် စာသား။ စာလုံးတစ်လုံးစီအတွက် SVG path element တစ်ခု ထုတ်ပေးသည်။

အဆင့်မြင့် 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...

Typography ဝေါဟာရများဖြင့် ဖောင့်အသွင်အပြင် ဖော်ပြချက်။ weight သည် 100 မှ 900 အထိ၊ style သည် italic သို့မဟုတ် oblique ကဲ့သို့၊ category သည် serif၊ sans-serif၊ display၊ handwriting သို့မဟုတ် monospace ကဲ့သို့ ဖြစ်ပြီး traits သည် geometric၊ humanist၊ condensed သို့မဟုတ် rounded ကဲ့သို့ ဖြစ်သည်။

မူလ black

SVG/CSS က ပံ့ပိုးသည့် မည်သည့်အရောင်ဖော်ပြချက်ဖြင့်မဆို သတ်မှတ်ထားသော glyph ဖြည့်အရောင်။

Glyph outline ဆက်တင်: ဤရွေးချယ်နိုင်သောအရောင်ကို ပေးပါက ဖန်တီးထားသော glyph လမ်းကြောင်းတိုင်းပတ်လည်တွင် stroke တစ်ခု ထည့်ပေးသည်။

မူလ 0.1

Sampling အတွင်း အသုံးပြုသည့် temperature။ ၎င်းကို လျှော့ပါက ထွက်ရလဒ် ပိုမိုသတ်မှတ်နိုင်စွမ်းရှိလာသည်။

မူလ 0.95

Nucleus sampling ထိန်းချုပ်မှု (top-p)။

မူလ 5

top-k sampling အတွက် ဆက်တင်။

မူလ 1

SVG path အပိုင်းများ ထပ်ခါတလဲလဲဖြစ်မှုကို တားဆီးသည့် penalty။

မူလ 8192

ဖန်တီးနိုင်သော တိုကင်များ၏ အမြင့်ဆုံးကန့်သတ်ချက်။ စာသားပိုရှည်ရန် လိုအပ်ပါက တိုးမြှင့်ပါ။

မူလ 512

SVG အရွယ်အစားကို pixel ဖြင့် သတ်မှတ်သည့် ကန့်သတ်ချက်။ အကျယ်နှင့် အမြင့် အချိုးမပျက်စေဘဲ ပိုကြီးသော dimension တွင် အသုံးချသည်။

မူလ 1

သတ်မှတ်ထားသော stroke_color နှင့်သာ အကျိုးသက်ရောက်ပြီး SVG ယူနစ်များဖြင့် တိုင်းတာသည့် outline အထူ။

တူညီသောရလဒ်များ ပြန်လည်ရရှိရန် ကျပန်းဖြစ်မှုကို ထိန်းချုပ်သည့် seed။

POST /run/vecglypher?wait=20 ကုန်ကျစရိတ် → ၀.၀၀၅ $
# 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"

ဤတောင်းဆိုချက်ကို လုပ်ဆောင်ရန်

သင့် key သည် ဤဘရောက်ဇာထဲတွင်သာ ရှိမည်ဖြစ်ပြီး Doitong API သို့သာ ပို့မည်။ Remember ကို အမှန်ခြစ်ထားမှသာ (localStorage) တွင် သိမ်းမည်။ API ကီး ရယူရန်

Vecglypher အကြောင်း

`prompt` ထဲရှိ စာလုံးများကို သီးခြား SVG path element များအဖြစ် ပုံဖော်ပြီး weight၊ 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
Vector-glyph ဖန်တီးမှုအတွက် စာသား။ စာလုံးတစ်လုံးစီအတွက် SVG path element တစ်ခု ထုတ်ပေးသည်။
style_descriptionရွေးချယ်နိုင်သည်
အမျိုးအစားstring
မူလတန်ဖိုးitalic style, 400 weight, serif, text, elegant
Typography ဝေါဟာရများဖြင့် ဖောင့်အသွင်အပြင် ဖော်ပြချက်။ weight သည် 100 မှ 900 အထိ၊ style သည် italic သို့မဟုတ် oblique ကဲ့သို့၊ category သည် serif၊ sans-serif၊ display၊ handwriting သို့မဟုတ် monospace ကဲ့သို့ ဖြစ်ပြီး traits သည် geometric၊ humanist၊ condensed သို့မဟုတ် rounded ကဲ့သို့ ဖြစ်သည်။
temperatureရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး0.1
၀ – ၂
Sampling အတွင်း အသုံးပြုသည့် temperature။ ၎င်းကို လျှော့ပါက ထွက်ရလဒ် ပိုမိုသတ်မှတ်နိုင်စွမ်းရှိလာသည်။
seedရွေးချယ်နိုင်သည်
အမျိုးအစားinteger | null
တူညီသောရလဒ်များ ပြန်လည်ရရှိရန် ကျပန်းဖြစ်မှုကို ထိန်းချုပ်သည့် seed။
enable_safety_checkerရွေးချယ်နိုင်သည်
အမျိုးအစားboolean
မူလတန်ဖိုးtrue
ထည့်သွင်းချက်အပေါ် ဘေးကင်းလုံခြုံရေး စစ်ဆေးမှုများကို ဖွင့်သည်။
top_pရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး0.95
၀ – ၁
Nucleus sampling ထိန်းချုပ်မှု (top-p)။
top_kရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး5
-၁ – ၁၀၀
top-k sampling အတွက် ဆက်တင်။
repetition_penaltyရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး1
၀ – ၂
SVG path အပိုင်းများ ထပ်ခါတလဲလဲဖြစ်မှုကို တားဆီးသည့် penalty။
max_tokensရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး8192
၂၅၆ – ၁၆,၃၈၄
ဖန်တီးနိုင်သော တိုကင်များ၏ အမြင့်ဆုံးကန့်သတ်ချက်။ စာသားပိုရှည်ရန် လိုအပ်ပါက တိုးမြှင့်ပါ။
output_sizeရွေးချယ်နိုင်သည်
အမျိုးအစားinteger
မူလတန်ဖိုး512
၆၄ – ၄,၀၉၆
SVG အရွယ်အစားကို pixel ဖြင့် သတ်မှတ်သည့် ကန့်သတ်ချက်။ အကျယ်နှင့် အမြင့် အချိုးမပျက်စေဘဲ ပိုကြီးသော dimension တွင် အသုံးချသည်။
fill_colorရွေးချယ်နိုင်သည်
အမျိုးအစားstring
မူလတန်ဖိုးblack
SVG/CSS က ပံ့ပိုးသည့် မည်သည့်အရောင်ဖော်ပြချက်ဖြင့်မဆို သတ်မှတ်ထားသော glyph ဖြည့်အရောင်။
stroke_colorရွေးချယ်နိုင်သည်
အမျိုးအစားstring | null
Glyph outline ဆက်တင်: ဤရွေးချယ်နိုင်သောအရောင်ကို ပေးပါက ဖန်တီးထားသော glyph လမ်းကြောင်းတိုင်းပတ်လည်တွင် stroke တစ်ခု ထည့်ပေးသည်။
stroke_widthရွေးချယ်နိုင်သည်
အမျိုးအစားnumber
မူလတန်ဖိုး1
၀.၁ – ၅၀
သတ်မှတ်ထားသော stroke_color နှင့်သာ အကျိုးသက်ရောက်ပြီး SVG ယူနစ်များဖြင့် တိုင်းတာသည့် outline အထူ။
လိုအပ်သည်

ထွက်ရလဒ်

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 တိုင်းသည် ကျွန်ုပ်တို့၏ သိုလှောင်မှုရှိ မိတ္တူဖြစ်သည်- အမြဲတမ်း (GB-month အလိုက် ငွေပေးရသည်) သို့မဟုတ် ၇ ရက် အခမဲ့၊ သင့်အကောင့်ဆက်တင် သို့မဟုတ် ?storage= ဖြင့် သိမ်းထားသည်။
မော်ဒယ်တိုင်းတွင် ပုံစံတူပုံ၊ ဗီဒီယိုနှင့် အသံတို့အတွက် type၊ url၊ content_type၊ width၊ height နှင့် duration။ output သည် မော်ဒယ်ကိုယ်တိုင်၏ ရလဒ် object ဖြစ်သည်။
ထွက်ရလဒ်၏ Fields များ
image
anyဖန်တီးထားသော vector glyph များပါဝင်သည့် SVG ဖိုင်။
svg_content
stringမူရင်း SVG markup ပါဝင်သည့် string။
seed
integerဖန်တီးမှုအတွင်း အသုံးပြုသည့် seed တန်ဖိုး။
timings
objectလုပ်ဆောင်မှုအဆင့်အလိုက် ခွဲခြားဖော်ပြထားသော ဖန်တီးမှုကြာချိန်များ။

နောက်ထပ် မော်ဒယ်များ: စာသားမှ ပုံ

AI အေးဂျင့်များအတွက်- ဤစာမျက်နှာ၏ Markdown ကို ဤနေရာတွင် ရရှိနိုင်သည် https://doitong.com/my/developers/models/vecglypher.md. မော်ဒယ်များနှင့် လမ်းညွှန်များအားလုံး: https://doitong.com/developers/llms.txt