Image Generation (doubao-seededit-3-0-i2i)
Given a prompt and/or input image, the model will generate a new image. Related guide: Image GenerationEndpoint
POST /v1/images/generations
Authentication
All requests require a Bearer token in the Authorization header:Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | The ID of the model to use, e.g., doubao-seededit-3-0-i2i-250628 |
| prompt | string | Yes | Text description, the prompt for editing the image |
| image | string | Yes | The image to edit, Base64 encoded or accessible URL. Supported formats: jpeg, png; aspect ratio within (1/3, 3); dimensions > 14px; size up to 10MB |
| response_format | string | No | Output format. url: returns downloadable jpeg image link; b64_json: returns Base64 encoded JSON. Default: url |
| size | string | No | Output image dimensions. Currently only supports adaptive, which automatically selects the closest ratio to the original |
| seed | integer | No | Random seed, range [-1, 2147483647]. Using the same seed ensures consistent results. Default: -1 |
| guidance_scale | number | No | Influence of text description vs input image on generation, range [1, 10]. Higher values mean more text influence. Default: 5.5 |
| watermark | boolean | No | Whether to add watermark. true: adds “AI Generated” watermark; false: no watermark. Default: true |