உள்ளடக்கத்திற்குச் செல்க

Recraft V4.1 Text to Image

ஒருங்கிணை

மாடல் id recraft/v4.1/text-to-image
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/recraft/v4.1/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Full-body fashion shot with the character framed in a close-up, cropped from mid-thigh or waist up so the figure dominates the composition, neutral pose, muted outfit, solid grey background (flat, no gradient). Minimal scribbles with one large graphic element (e.g. oversized abstract shape or drawn eye) placed behind and partially overlapping the figure. Bold oversized typography integrated tightly around the subject: '\''MAKE IT BREAK / MAKE IT WORK'\'' (large serif, slightly distorted, crossing the upper body), '\''no perfect version exists'\'' (small subtle line). Add stickers: minimal icons, checkmarks, soft scribbles, small tape details. Clean but expressive editorial chaos, focus on the character."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

இந்தக் கோரிக்கை: $0.035 35 API கிரெடிட்கள் · ≈ ₽3.73 இந்தப் பக்கத்தில் இயக்குங்கள்

API விசையைப் பெறுக

பிராண்ட் நிறத்தொகுப்புகள் மற்றும் பின்னணி நிறக் கட்டுப்பாட்டுடன் கூடிய வடிவமைப்பை மையமாகக் கொண்ட பட மாதிரி.

எடுத்துக்காட்டுகள்

வெளியீடு · ~27 s
Full-body fashion shot with the character framed in a close-up, cropped from mid-thigh or waist up so the figure domi...

ப்ராம்ப்ட்Full-body fashion shot with the character framed in a close-up, cropped from mid-thigh or waist up so the figure dominates the composition, neutral pose, muted outfit, solid grey background (flat, no gradient). Minimal scribbles with one large graphic element (e.g. oversized abstract shape or drawn eye) placed behind and partially overlapping the figure. Bold oversized typography integrated tightly around the subject: 'MAKE IT BREAK / MAKE IT WORK' (large serif, slightly distorted, crossing the upper body), 'no perfect version exists' (small subtle line). Add stickers: minimal icons, checkmarks, soft scribbles, small tape details. Clean but expressive editorial chaos, focus on the character.

$0.035 · 35 API கிரெடிட்கள்

X-இல் @recraftai வழங்கிய ப்ராம்ப்ட்

கோரிக்கையை உருவாக்கு

மாடல் ஸ்கீமாவிலிருந்து கட்டுப்பாடுகள் உருவாக்கப்படுகின்றன. அவற்றை மாற்றும்போது குறியீடும் விலையும் புதுப்பிக்கப்படும்.

•தேவை 700 / 10000
image_size இயல்புநிலை square_hd
மேம்பட்டவை colors · background_color
இயல்புநிலை []

விரும்பிய வண்ணங்களைக் கொண்ட array.

உருவாக்கப்பட்ட படங்களின் பின்னணிக்கான விரும்பிய வண்ணம்.

POST /run/recraft/v4.1/text-to-image?wait=20 விலை → $0.035
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/recraft/v4.1/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Full-body fashion shot with the character framed in a close-up, cropped from mid-thigh or waist up so the figure dominates the composition, neutral pose, muted outfit, solid grey background (flat, no gradient). Minimal scribbles with one large graphic element (e.g. oversized abstract shape or drawn eye) placed behind and partially overlapping the figure. Bold oversized typography integrated tightly around the subject: '\''MAKE IT BREAK / MAKE IT WORK'\'' (large serif, slightly distorted, crossing the upper body), '\''no perfect version exists'\'' (small subtle line). Add stickers: minimal icons, checkmarks, soft scribbles, small tape details. Clean but expressive editorial chaos, focus on the character."
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

இந்தக் கோரிக்கையை இயக்கு

உங்கள் key இந்த உலாவியில் மட்டுமே இருக்கும்: அது Doitong API-க்கு மட்டும் அனுப்பப்படும்; Remember-ஐத் தேர்ந்தெடுத்தால் மட்டுமே (localStorage)-ல் சேமிக்கப்படும். API விசையைப் பெறுங்கள்

Recraft V4.1 Text to Image பற்றி

Recraft V4.1 வடிவமைப்புப் பணிகளுக்காக உருவாக்கப்பட்டது: சந்தைப்படுத்தல் காட்சிகள், விளக்கப்படங்கள் மற்றும் சுத்தமான கட்டமைப்புடன் கூடிய தயாரிப்புக் காட்சிகள். பிராண்ட் நிறத்தொகுப்பைப் பராமரிக்க விரும்பிய RGB நிறங்களின் பட்டியலை வழங்கலாம் அல்லது ஒத்திசைவான தொகுப்புகளுக்குப் பின்னணி நிறத்தை நிர்ணயிக்கலாம். முன்னமைக்கப்பட்ட அல்லது தனிப்பயன் அளவில், ஒரு கோரிக்கைக்கு ஒரு படம்.

அளவுருக்கள்

பெயர்வகை இயல்புநிலைஅனுமதிக்கப்பட்டது விளக்கம்
promptதேவை
வகைstring
≤ 10,000 எழுத்துகள்
image_sizeவிருப்பத்தேர்வு
வகைobject
இயல்புநிலைsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
colorsவிருப்பத்தேர்வு
வகைobject[]
இயல்புநிலை[]
விரும்பிய வண்ணங்களைக் கொண்ட array.
colors[].rவிருப்பத்தேர்வு
வகைinteger
இயல்புநிலை0
0 – 255
சிவப்பு கூறின் மதிப்பு.
colors[].gவிருப்பத்தேர்வு
வகைinteger
இயல்புநிலை0
0 – 255
பச்சை கூறின் மதிப்பு.
colors[].bவிருப்பத்தேர்வு
வகைinteger
இயல்புநிலை0
0 – 255
நீல கூறின் மதிப்பு.
background_colorவிருப்பத்தேர்வு
வகைobject
உருவாக்கப்பட்ட படங்களின் பின்னணிக்கான விரும்பிய வண்ணம்.
background_color.rவிருப்பத்தேர்வு
வகைinteger
இயல்புநிலை0
0 – 255
சிவப்பு கூறின் மதிப்பு.
background_color.gவிருப்பத்தேர்வு
வகைinteger
இயல்புநிலை0
0 – 255
பச்சை கூறின் மதிப்பு.
background_color.bவிருப்பத்தேர்வு
வகைinteger
இயல்புநிலை0
0 – 255
நீல கூறின் மதிப்பு.
தேவை

வெளியீடு

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "recraft/v4.1/text-to-image",
  "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": 35,
    "usd": "0.035",
    "charged": 35,
    "refunded": 0
  },
  "input": {
    "prompt": "Tilt-shift miniature view of a fishing village harbor at golden hour, colorful boats, toy-like scale",
    "image_size": "landscape_16_9"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200
      }
    ]
  },
  "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
உங்கள் கோப்புகள், உங்கள் தேர்வுஒவ்வொரு outputs[].url-ம் எங்கள் சேமிப்பகத்தில் உள்ள ஒரு நகல்: நிரந்தரமாக (GB-மாதத்திற்கு கட்டணம்) அல்லது உங்கள் கணக்கு அமைப்பு அல்லது ?storage= மூலம் இலவசமாக 7 நாட்கள் வைக்கப்படும்.
ஒவ்வொரு மாடலிலும் ஒரே வடிவம்படங்கள், வீடியோ மற்றும் ஆடியோ ஆகிய அனைத்திற்குமான type, url, content_type, width, height மற்றும் duration. output என்பது மாதிரியின் சொந்த முடிவு பொருளாகும்.
வெளியீட்டின் புலங்கள்
images
array of object {url, content_type, file_name, file_size}

மேலும் மாதிரிகள்: உரையிலிருந்து படத்திற்கு

AI ஏஜெண்டுகளுக்கு: இந்தப் பக்கம் Markdown வடிவில் இங்கே உள்ளது https://doitong.com/ta/developers/models/recraft/v4.1/text-to-image.md. அனைத்து மாடல்களும் வழிகாட்டிகளும்: https://doitong.com/developers/llms.txt