POST
/api/v1/imagine2 creditsSynchronousSeedream 3.0
Provider · ByteDanceType · T2IModel ID ·
seedream-3Upstream ID · seedream-3.0Seedream 3.0 by ByteDance (Doubao). A fast, capable text-to-image model with strong aesthetic quality. Reference images can be included by appending a space-separated image URL directly in the prompt string.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| prompt | string | Required | The text prompt describing the image to generate. |
| model | string | Optional | Set to `seedream-3` to use this model.Default: seedream-3 |
| aspect_ratio | string | Optional | Output aspect ratio. Allowed: 1:1 · 16:9 · 9:16 · 4:3 · 3:4 · 3:2 · 2:3.Default: 1:1 |
| webhook_url | string | Optional | URL where we POST the completed task result. |
| webhook_secret | string | Optional | Sent as x-webhook-secret header in webhook delivery for verification. |
Example Request
cURL
curl -X POST https://api.journeyapi.com/api/v1/imagine \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedream-3",
"prompt": "a fox sitting on a snow-covered branch, ink painting style",
"aspect_ratio": "1:1"
}'Response
This model is synchronous — the response includes the finished image_url directly. No polling required.
200 OK
{
"task_id": "550e8400-e29b-41d4-a716-446655440000",
"status": "finished",
"image_url": "https://cdn.example.com/output.png"
}Tips
- 1To use a reference image, append its URL to the end of your prompt separated by a space: "a dog in a park https://example.com/ref.jpg"
- 2Performs well for stylized illustrations and Eastern aesthetics.