{"servers":[{"url":"https://api.modellix.ai/api/v1/bytedance/seedream-4.0-i2i"}],"post":{"description":"[Core Function] Seedream 4.0 I2I is an older generation image-to-image editing model. [Strengths] Maintained primarily for backward compatibility and stable API contracts. [Best For] Existing legacy integrations and workflows that strictly depend on this specific model version's quirks. [Limitations] Do NOT use this for new creations. It is a legacy model maintained for backward compatibility. [Routing] Only use if explicitly requested; otherwise use Seedream 5.0 Lite I2I.","operationId":"seedream40I2iAsync","requestBody":{"content":{"application/json":{"schema":{"properties":{"image":{"description":"Input image array (1-14 images). Each image must be <= 10 MB. Supported formats: JPEG, PNG, WEBP, BMP, TIFF, GIF.","items":{"type":"string"},"maxItems":14,"minItems":1,"type":"array"},"optimize_prompt_mode":{"default":"standard","description":"Mode for optimizing the input prompt.","enum":["standard","fast"],"type":"string"},"prompt":{"description":"Description of the desired output. Maximum 10000 characters. We recommend keeping the prompt under 600 words. Excessively long prompts may scatter information, causing the model to overlook details and focus only on major elements, which can result in missing details in the generated image.","maxLength":10000,"minLength":1,"type":"string"},"sequential_image_generation":{"default":"disabled","description":"Enable or disable sequential image generation.","enum":["auto","disabled"],"type":"string"},"sequential_image_generation_max_images":{"default":5,"description":"Maximum number of images for sequential generation.","maximum":15,"minimum":1,"type":"integer"},"size":{"default":"2048x2048","description":"Output size in pixels.","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 4.0 I2I","x-mint":{"href":"bytedance/seedream-4-0-i2i"}}}