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

Grok Imagine Image Editing Quality

ஒருங்கிணை

மாடல் id xai/grok-imagine-image/quality/edit
# 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/xai/grok-imagine-image/quality/edit?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

எடுத்துக்காட்டு போன்ற கோப்புகள்: $0.05 50 API கிரெடிட்கள் · ≈ ₽5.38 இயக்குவதற்கு முன் உங்கள் கோப்புகள் அளவிடப்படும் இந்தப் பக்கத்தில் இயக்குங்கள்

API விசையைப் பெறுக
xAI படத் திருத்தம் 2k வரை #stylized#transform#typography

உரை வழிமுறையிலிருந்து அதிகபட்சம் 3 உள்ளீட்டுப் படங்களைத் திருத்துகிறது; 1k அல்லது 2k வெளியீடும் விருப்பமான விகித மாற்றமும் உள்ளது

Doitong இல் உருவாக்கப்பட்டது

Doitong சமூகத்தினரால் Grok Imagine Image மூலம் உருவாக்கப்பட்ட பொதுப் படைப்புகள். ஒரே கிளிக்கில் ப்ராம்ப்ட்டை மீண்டும் பயன்படுத்தவும்.

காட்டப்படும் பொதுப் படைப்புகள்: 16
Brand guidelines: Visual style: Cinematic Realistic: photorealistic live-action, shallow depth of...

Brand guidelines: Visual style: Cinematic Realistic: photorealistic live-action, shallow depth of field, dramatic lighting, film grain. Reference images context (match the visual style and elements from these): - reference photo (style_reference): use as visual reference for setting, objects, and...

Art style: Cinematic Realistic. Full-length view, the entire figure visible from head to feet, st...

Art style: Cinematic Realistic. Full-length view, the entire figure visible from head to feet, standing upright, a 24-year-old man centered in frame. He is a fictional everyman: slim, slightly under-built frame with noticeably slouched, rounded shoulders and a caved-in posture that reads as...

Art style: мультяшный. An extreme wide high-angle composition looking down at the sunlit yellow k...

Art style: мультяшный. An extreme wide high-angle composition looking down at the sunlit yellow kitchen table. Lily peers over the edge into her open turquoise lunchbox where Broc and Apple Slice sit side-by-side holding miniature bright red paper hearts aloft. Lily's expression transforms into...

Art style: Clay / Plasticine. ПОЖИЛАЯ АНЯ. Clay plasticine figure of an elderly woman with dark h...

Art style: Clay / Plasticine. ПОЖИЛАЯ АНЯ. Clay plasticine figure of an elderly woman with dark hair streaked with sculpted silver strands in a low bun. Her face is kind and lined, with visible clay texture. She wears a mustard-yellow knitted scarf over a dark-green cardigan. Silhouette tag:...

Art style: Clay / Plasticine. ЭЛЛИПСИС, другая локация. Гостиная с серыми незакрашенными стенами ...

Art style: Clay / Plasticine. ЭЛЛИПСИС, другая локация. Гостиная с серыми незакрашенными стенами освещена окном и голой лампой. Миша в тёмно-синей толстовке и Аня в горчичном свитере стоят у стены, у каждого кисть в правой руке. На полу ровно два ведра коралловой краски.. изменить одежду на...

A traditional hand-drawn FILM STORYBOARD SHEET for scene 2: one page divided into a clean 3x3 gri...

A traditional hand-drawn FILM STORYBOARD SHEET for scene 2: one page divided into a clean 3x3 grid of NINE separate rectangular panels, three rows of three, each panel a 9:16 rectangle with a thin ruled black border and a small hand-written panel number in its top-left corner from 1 to 9. Thin...

A traditional hand-drawn FILM STORYBOARD SHEET for scene 3: one page divided into a clean 3x3 gri...

A traditional hand-drawn FILM STORYBOARD SHEET for scene 3: one page divided into a clean 3x3 grid of NINE separate rectangular panels, three rows of three, each panel a 9:16 rectangle with a thin ruled black border and a small hand-written panel number in its top-left corner from 1 to 9. Thin...

A traditional hand-drawn FILM STORYBOARD SHEET for scene 1: one page divided into a clean 3x3 gri...

A traditional hand-drawn FILM STORYBOARD SHEET for scene 1: one page divided into a clean 3x3 grid of NINE separate rectangular panels, three rows of three, each panel a 9:16 rectangle with a thin ruled black border and a small hand-written panel number in its top-left corner from 1 to 9. Thin...

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

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

•தேவை 88 / 8000

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

resolution இயல்புநிலை 1k

தரநிலை (`1k`) மற்றும் உயர் (`2k`) ஆகியவற்றுக்கிடையிலான படத் தெளிவுத்திறன் தேர்வு.

இயல்புநிலை auto

படத் திருத்தத்திற்கான வெளியீட்டு விகித அமைப்பு; `auto` முதல் உள்ளீட்டின் விகிதத்தைப் பயன்படுத்தும். இந்தத் தானியங்கி அமைப்பே இயல்புநிலை.

num_images இயல்புநிலை 1

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

மேம்பட்டவை images · output_format · enable_safety_checker
image_urls
கோப்பை விடுங்கள் அல்லது

திருத்தத்திற்கான படம் URL-கள், அதிகபட்சம் 3 படங்களைக் கொண்ட பட்டியலாக வழங்கப்படும்.

output_format இயல்புநிலை jpeg

விளைவாக வரும் படத்திற்கான கோப்பு வடிவம்.

POST /run/xai/grok-imagine-image/quality/edit?wait=20 விலை → $0.05
# 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/xai/grok-imagine-image/quality/edit?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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

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

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

Grok Imagine Image Editing Quality பற்றி

`prompt`-இல் (அதிகபட்சம் 8000 எழுத்துகள்) உரை வழிமுறையையும், `image_urls`-இல் மூலப் படங்கள் 3 வரை பெற்று, திருத்தப்பட்ட பதிப்புகளை வழங்குகிறது. `num_images` மூலம் 1 முதல் 4 முடிவுகளைக் கோரலாம்; 1k அல்லது 2k `resolution`-ஐத் தேர்ந்தெடுத்து, jpeg, png அல்லது webp ஆக வெளியிடலாம். `aspect_ratio` auto ஆக இருந்தால், வெளியீடு முதல் உள்ளீட்டுப் படத்தின் வடிவத்தைத் தக்கவைக்கும். பதிலில் திருத்தப்பட்ட ப்ராம்ப்ட் அடங்கும்.

அளவுருக்கள்

நியமப் பெயர் அல்லது நேட்டிவ் பெயர் இரண்டில் ஒன்றை மட்டும் அனுப்பவும். நியமப் பெயர்கள்

பெயர்வகை இயல்புநிலைஅனுமதிக்கப்பட்டது விளக்கம்
promptதேவை
வகைstring
≤ 8,000 எழுத்துகள்
உருவாக்க வேண்டிய படத்தின் உரை விளக்கம்.
num_imagesவிருப்பத்தேர்வு num_outputs
வகைinteger
இயல்புநிலை1
1 – 4
உருவாக்க வேண்டிய படங்களின் எண்ணிக்கை.
aspect_ratioவிருப்பத்தேர்வு
வகைenum
இயல்புநிலைauto
auto2:120:919.5:916:94:33:21:12:33:49:169:19.59:201:2
படத் திருத்தத்திற்கான வெளியீட்டு விகித அமைப்பு; `auto` முதல் உள்ளீட்டின் விகிதத்தைப் பயன்படுத்தும். இந்தத் தானியங்கி அமைப்பே இயல்புநிலை.
resolutionவிருப்பத்தேர்வு
வகைenum
இயல்புநிலை1k
1k2k
தரநிலை (`1k`) மற்றும் உயர் (`2k`) ஆகியவற்றுக்கிடையிலான படத் தெளிவுத்திறன் தேர்வு.
output_formatவிருப்பத்தேர்வு
வகைenum
இயல்புநிலைjpeg
jpegpngwebp
விளைவாக வரும் படத்திற்கான கோப்பு வடிவம்.
enable_safety_checkerவிருப்பத்தேர்வு
வகைboolean
இயல்புநிலைtrue
அழைப்பாளர் அங்கீகரிக்கப்பட்டிருந்தால், false என அமைப்பதன் மூலம் திரையிடலைத் தளர்த்தலாம்.
image_urlsவிருப்பத்தேர்வு images
வகைurl[] · image
திருத்தத்திற்கான படம் URL-கள், அதிகபட்சம் 3 படங்களைக் கொண்ட பட்டியலாக வழங்கப்படும்.
தேவை நியமப் பெயர், இதுவும் ஏற்கப்படும்

கோப்பு அளவுருக்கள் பொதுவான https:// URL, 10 MB வரையிலான data: URI அல்லது பதிவேற்றத்தின் file_url-ஐ ஏற்கும். கோப்புகள்

வெளியீடு

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "xai/grok-imagine-image/quality/edit",
  "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": 50,
    "usd": "0.05",
    "charged": 50,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "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,
        "width": 1024,
        "height": 768
      }
    ],
    "revised_prompt": "string"
  },
  "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, width, height}திருத்தப்பட்ட படத்தைச் சுட்டும் URL.
revised_prompt
string | nullபட உருவாக்கத்திற்குப் பயன்படுத்தப்படும் மேம்படுத்தப்பட்ட ப்ராம்ப்ட்.

மேலும் மாதிரிகள்: படத் திருத்தம்

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