POST
/
v1
/
images
/
generations
curl -X POST https://www.anyfast.ai/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seedream-4-5",
    "prompt": "Fuse these images into a cohesive scene",
    "image_urls": [
      "https://example.com/image1.jpg",
      "https://example.com/image2.jpg"
    ],
    "size": "2048x2048",
    "response_format": "url",
    "watermark": true
  }'
{
  "data": [
    {
      "url": "https://example.com/output.jpg"
    }
  ],
  "created": 1757469067,
  "usage": {
    "total_tokens": 15908
  }
}
Fuse multiple reference images into a single output image using the doubao-seedream-4-5 model.

Request Parameters

model
string
required
Model ID. Use doubao-seedream-4-5.
prompt
string
required
Text prompt describing the desired fused output image.
image_urls
array
required
Array of reference image URLs to fuse together.
size
string
Output image size. Default: 2048x2048.
response_format
string
Response format. Options: url, b64_json. Default: url.
watermark
boolean
Whether to add a watermark to the output image. Default: true.
curl -X POST https://www.anyfast.ai/v1/images/generations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "doubao-seedream-4-5",
    "prompt": "Fuse these images into a cohesive scene",
    "image_urls": [
      "https://example.com/image1.jpg",
      "https://example.com/image2.jpg"
    ],
    "size": "2048x2048",
    "response_format": "url",
    "watermark": true
  }'
{
  "data": [
    {
      "url": "https://example.com/output.jpg"
    }
  ],
  "created": 1757469067,
  "usage": {
    "total_tokens": 15908
  }
}