Generate AI images using ByteDance SeeDream V4 with support for up to 8 reference images and basic/high quality options.

Model

bytedance/seedream-4

Parameters

ParameterTypeRequiredDescription
promptstringYesText description of the image to generate
image_urlsarrayNoReference image URLs (up to 8)
qualitystringNobasic or high (default: basic)
aspect_ratiostringNo1:1, 4:3, 3:2, 16:9, 3:4, 2:3, 9:16
seedintegerNoSeed for reproducibility

Example - Text-to-Image

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "bytedance/seedream-4",
    "input": {
      "prompt": "A futuristic cityscape at night with neon lights",
      "quality": "high",
      "aspect_ratio": "16:9"
    }
  }'

Example - Image-to-Image

curl -X POST https://api.unifically.com/v1/tasks \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "bytedance/seedream-4",
    "input": {
      "prompt": "Add dramatic lighting and cinematic atmosphere",
      "image_urls": ["https://example.com/reference.jpg"],
      "quality": "high",
      "aspect_ratio": "16:9"
    }
  }'

Response

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "pending"
  }
}

Pricing

QualityPrice
Basic$0.02
High$0.02