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

Luma Uni-1 Edit

ஒருங்கிணை

மாடல் id luma/agent/uni-1/v1/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/luma/agent/uni-1/v1/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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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.045 45 API கிரெடிட்கள் · ≈ ₽4.84 இயக்குவதற்கு முன் உங்கள் கோப்புகள் அளவிடப்படும் இந்தப் பக்கத்தில் இயக்குங்கள்

API விசையைப் பெறுக
Luma AI படத் திருத்தம் குறிப்பு உள்ளீடுகள் #stylized#transform

வழிமுறை அடிப்படையிலான படம் திருத்தம்; கலவையைப் பாதுகாக்கிறது, விருப்பமான மங்கா பாணி மற்றும் அதிகபட்சம் 8 குறிப்புகளுடன்

Luma AI · படம்

உங்கள் முதல் முடிவு இங்கே வரும்

கீழே ஒரு கோரிக்கையை உருவாக்கி, உங்கள் API விசையுடன் இயக்குங்கள். வெளியீடுகள் எங்கள் சேமிப்பகத்தில் நகலெடுக்கப்பட்டு, நிரந்தரமாக அல்லது இலவசமாக 7 நாட்கள் வைக்கப்படும்.

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

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

•தேவை 88 / 6000

விரும்பிய திருத்தத்தை குறிப்பிடும் உரை வழிமுறைகள்.

•தேவை image_url
கோப்பை விடுங்கள் அல்லது

திருத்தப்பட வேண்டிய படத்தைச் சுட்டும் URL.

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

திருத்தத்தை வழிநடத்தும் குறிப்புப் படங்களுக்கான விருப்ப URL பட்டியல்.

style இயல்புநிலை auto

திருத்தப்பட்ட படத்திற்குப் பயன்படுத்தப்படும் காட்சி பாணி.

output_format

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

POST /run/luma/agent/uni-1/v1/edit?wait=20 விலை → $0.045
# 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/luma/agent/uni-1/v1/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",
    "image": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  }'

# 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 விசையைப் பெறுங்கள்

Luma Uni-1 Edit பற்றி

6000 எழுத்துகள் வரையிலான உரை instruction-ஐப் பின்பற்றி `image_url` இல் உள்ள மூலப் படத்தைத் திருத்துகிறது. `style` auto அல்லது manga ஆக இருக்கும்; 8 வரையிலான `reference_image_urls` திருத்தத்திற்கு வழிகாட்டலாம். வெளியீடு PNG அல்லது JPEG ஆக இருக்கலாம். இது Max edit வகைக்கு மாறான அடிப்படைத் திருத்த நிலையாகும்.

அளவுருக்கள்

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

பெயர்வகை இயல்புநிலைஅனுமதிக்கப்பட்டது விளக்கம்
promptதேவை
வகைstring
≤ 6,000 எழுத்துகள்
விரும்பிய திருத்தத்தை குறிப்பிடும் உரை வழிமுறைகள்.
image_urlதேவை image
வகைurl · image
திருத்தப்பட வேண்டிய படத்தைச் சுட்டும் URL.
styleவிருப்பத்தேர்வு
வகைenum
இயல்புநிலைauto
automanga
திருத்தப்பட்ட படத்திற்குப் பயன்படுத்தப்படும் காட்சி பாணி.
output_formatவிருப்பத்தேர்வு
வகைenum
pngjpeg
திருத்தப்பட்ட படத்தைக் குறியாக்கப் பயன்படுத்தப்படும் வடிவம்.
reference_image_urlsவிருப்பத்தேர்வு images
வகைurl[] · image
≤ 8 உருப்படிகள்
திருத்தத்தை வழிநடத்தும் குறிப்புப் படங்களுக்கான விருப்ப URL பட்டியல்.
enable_safety_checkerவிருப்பத்தேர்வு
வகைboolean
இயல்புநிலைtrue
அழைப்பாளர் அங்கீகரிக்கப்பட்டிருந்தால், false என அமைப்பதன் மூலம் திரையிடலைத் தளர்த்தலாம்.
தேவை நியமப் பெயர், இதுவும் ஏற்கப்படும்

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

வெளியீடு

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "luma/agent/uni-1/v1/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": 45,
    "usd": "0.045",
    "charged": 45,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field",
    "image_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "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/luma/agent/uni-1/v1/edit.md. அனைத்து மாடல்களும் வழிகாட்டிகளும்: https://doitong.com/developers/llms.txt