{"servers":[{"url":"https://api.modellix.ai/api/v1/bytedance/seedream-5.0-pro-edit"}],"post":{"description":"[Core Function] Seedream 5.0 Pro Edit is a professional-grade single-image editing (I2I) model. [Strengths] It supports interactive precise editing: edit locations can be specified via coordinates, selection boxes, or arrows described in the prompt, with strong element-level control and subject consistency. [Best For] Highly recommended for: precise local retouching, adding/removing/replacing objects at exact positions, style transfer of a single photo, and professional post-editing workflows. [Limitations] Do NOT use this model for text-to-image generation (an input image is required) or for blending multiple reference images; it accepts exactly one input image and outputs exactly one image (no batch or streaming). [Routing] For 2-10 reference images use Seedream 5.0 Pro Multi-Reference; for pure text-to-image use Seedream 5.0 Pro; choose Seedream 5.0 Lite Edit when batch outputs or more than 10 input images are required.","operationId":"seedream50ProEditI2iAsync","requestBody":{"content":{"application/json":{"examples":{"basic":{"summary":"Basic single-image edit","value":{"image":"https://example.com/input.jpg","prompt":"Convert this image to a watercolor painting style"}},"precise_edit":{"summary":"Interactive precise edit with coordinates","value":{"image":"https://example.com/input.jpg","optimize_prompt_mode":"standard","output_format":"png","prompt":"Replace the object in the selection box (100,100)-(300,300) with a red vintage car","size":"2048x2048"}}},"schema":{"properties":{"image":{"description":"Input image URL (or Base64 data URI). Single image only. Each image must be <= 30 MB, width and height > 14 px, aspect ratio within [1/16, 16], total pixels <= 36,000,000. Supported formats: JPEG, PNG, WEBP, BMP, TIFF, GIF, HEIC, HEIF.","example":"https://example.com/input.jpg","type":"string"},"optimize_prompt_mode":{"default":"standard","description":"Prompt optimization mode. 'standard': higher quality with longer generation time. 'fast': faster generation with slightly lower quality.","enum":["standard","fast"],"example":"standard","type":"string"},"output_format":{"default":"jpeg","description":"Output image format. Supported values: 'jpeg' and 'png'.","enum":["jpeg","png"],"example":"png","type":"string"},"prompt":{"description":"Image editing instruction, supports Chinese and English. Maximum 10000 characters. We recommend keeping the prompt under 600 words. Interactive precise editing is supported: edit locations can be specified via coordinates, selection boxes, or arrows described in the prompt.","example":"Replace the object in the selection box (100,100)-(300,300) with a red vintage car","maxLength":10000,"minLength":1,"type":"string"},"size":{"default":"1024x1024","description":"Image size in format 'widthxheight'. Total pixels must be within [1280x720(921,600), 4,624,220] and aspect ratio within [1/16, 16], corresponding to the official 1K/2K resolution levels (3K/4K not supported). Recommended 2K sizes: 2048x2048 (1:1), 2816x1584 (16:9), 2368x1776 (4:3).","example":"2048x2048","type":"string"}},"required":["prompt","image"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"Response code, 0 indicates success","example":0,"type":"integer"},"data":{"description":"Detailed data about the submitted asynchronous task.","properties":{"get_result":{"description":"API information to query the task result","properties":{"method":{"description":"HTTP method","example":"GET","type":"string"},"url":{"description":"Full URL to query the task result","example":"https://api.modellix.ai/api/v1/tasks/task-abc123","type":"string"}},"type":"object"},"model_id":{"description":"Model ID","example":"model-123","type":"string"},"status":{"description":"Task status","enum":["pending","processing"],"example":"pending","type":"string"},"task_id":{"description":"Unique task identifier","example":"task-abc123","type":"string"}},"required":["status","task_id","model_id"],"type":"object"},"message":{"description":"Response message","example":"success","type":"string"}},"required":["code","message","data"],"type":"object"}}},"description":"Task submitted successfully"}},"summary":"Seedream 5.0 Pro Edit","x-mint":{"href":"bytedance/seedream-5-0-pro-edit"}}}