सामग्री पर जाएँ

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 दिन तक मुफ़्त में रखे जाते हैं।

अनुरोध बनाएँ

कंट्रोल मॉडल स्कीमा से जनरेट होते हैं। इन्हें बदलने पर कोड और कीमत अपडेट होती है।

•आवश्यक

वेक्टर-ग्लिफ़ निर्माण के लिए टेक्स्ट, जिसमें प्रत्येक वर्ण के लिए एक 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...

टाइपोग्राफ़िक शब्दों में फ़ॉन्ट के रूप का विवरण: 100 से 900 तक weight; italic या oblique जैसी style; serif, sans-serif, display, handwriting या monospace जैसी category; और geometric, humanist, condensed या rounded जैसे गुण।

डिफ़ॉल्ट black

SVG/CSS द्वारा समर्थित किसी भी रंग नोटेशन का उपयोग करके निर्दिष्ट किया गया ग्लिफ़ fill।

ग्लिफ़ आउटलाइन सेटिंग: यह वैकल्पिक रंग देने पर हर जनरेट किए गए ग्लिफ़ पथ के चारों ओर स्ट्रोक जोड़ता है।

डिफ़ॉल्ट 0.1

sampling के दौरान उपयोग किया गया temperature; इसे घटाने पर आउटपुट अधिक नियतात्मक बनता है।

डिफ़ॉल्ट 0.95

Nucleus sampling नियंत्रण (top-p)।

डिफ़ॉल्ट 5

टॉप-k सैंपलिंग की सेटिंग।

डिफ़ॉल्ट 1

SVG path segments की पुनरावृत्ति को हतोत्साहित करने वाला penalty।

डिफ़ॉल्ट 8192

निर्मित टोकन की ऊपरी सीमा। लंबे टेक्स्ट के लिए इसे बढ़ाएँ।

डिफ़ॉल्ट 512

पिक्सेल में SVG आकार सीमा, जो width और height का अनुपात बनाए रखते हुए बड़े आयाम पर लागू होती है।

डिफ़ॉल्ट 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"

यह अनुरोध चलाएँ

आपकी key इसी ब्राउज़र में रहती है: इसे केवल Doitong API को भेजा जाता है और केवल तभी (localStorage) में सेव किया जाता है जब आप Remember चुनते हैं। API कुंजी प्राप्त करें

Vecglypher के बारे में

`prompt` के कैरेक्टर को अलग-अलग SVG path एलिमेंट के रूप में रेंडर करता है, जिन्हें वेट्स, 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
वेक्टर-ग्लिफ़ निर्माण के लिए टेक्स्ट, जिसमें प्रत्येक वर्ण के लिए एक SVG path element बनाया जाता है।
style_descriptionवैकल्पिक
प्रकारstring
डिफ़ॉल्टitalic style, 400 weight, serif, text, elegant
टाइपोग्राफ़िक शब्दों में फ़ॉन्ट के रूप का विवरण: 100 से 900 तक weight; italic या oblique जैसी style; serif, sans-serif, display, handwriting या monospace जैसी category; और geometric, humanist, condensed या rounded जैसे गुण।
temperatureवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट0.1
0 – 2
sampling के दौरान उपयोग किया गया 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
टॉप-k सैंपलिंग की सेटिंग।
repetition_penaltyवैकल्पिक
प्रकारnumber
डिफ़ॉल्ट1
0 – 2
SVG path segments की पुनरावृत्ति को हतोत्साहित करने वाला penalty।
max_tokensवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट8192
256 – 16,384
निर्मित टोकन की ऊपरी सीमा। लंबे टेक्स्ट के लिए इसे बढ़ाएँ।
output_sizeवैकल्पिक
प्रकारinteger
डिफ़ॉल्ट512
64 – 4,096
पिक्सेल में SVG आकार सीमा, जो width और height का अनुपात बनाए रखते हुए बड़े आयाम पर लागू होती है।
fill_colorवैकल्पिक
प्रकारstring
डिफ़ॉल्टblack
SVG/CSS द्वारा समर्थित किसी भी रंग नोटेशन का उपयोग करके निर्दिष्ट किया गया ग्लिफ़ fill।
stroke_colorवैकल्पिक
प्रकारstring | null
ग्लिफ़ आउटलाइन सेटिंग: यह वैकल्पिक रंग देने पर हर जनरेट किए गए ग्लिफ़ पथ के चारों ओर स्ट्रोक जोड़ता है।
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 हमारे स्टोरेज में एक कॉपी है: हमेशा के लिए (प्रति GB-माह भुगतान) या 7 दिन तक मुफ़्त में, आपके अकाउंट की सेटिंग या ?storage= के अनुसार।
हर मॉडल पर एक जैसा आकारइमेज, वीडियो और ऑडियो सभी के लिए type, url, content_type, width, height और duration। output मॉडल का अपना परिणाम ऑब्जेक्ट है।
आउटपुट के फ़ील्ड
image
anyजनरेट किए गए वेक्टर ग्लिफ़ वाली SVG फ़ाइल।
svg_content
stringरॉ SVG मार्कअप वाली स्ट्रिंग।
seed
integerनिर्माण के दौरान लागू किया गया सीड मान।
timings
objectप्रोसेसिंग के चरणों के अनुसार विभाजित निर्माण का समय।

और मॉडल: टेक्स्ट से इमेज

AI एजेंट के लिए: इस पेज का Markdown यहाँ है https://doitong.com/hi/developers/models/vecglypher.md. सभी मॉडल और गाइड: https://doitong.com/developers/llms.txt