---
title: "Seedream 5.0 Pro - Create image from text"
method: POST
path: "/v1/ai/text-to-image/seedream-v5-pro"
tags: ["text-to-image"]
---

# Seedream 5.0 Pro - Create image from text

`POST /v1/ai/text-to-image/seedream-v5-pro`

## Request

- Base URL: `https://api.magnific.com`
- URL: `https://api.magnific.com/v1/ai/text-to-image/seedream-v5-pro`
- Auth: API key in header `x-magnific-api-key`

Generate high-quality images from text descriptions using ByteDance's Seedream 5.0 Pro model.

**Key Features:**
- Flagship image quality with high-fidelity detail
- Strong prompt adherence and superior composition
- Selectable resolution tiers (1.5K, 2K)
- Various aspect ratios available
- Optional seed for reproducibility

**Best for:**
- Professional and large-format imagery
- Detailed scenes and complex compositions
- Cinematic and artistic visuals

## Request body

- Ttisdv5pRequestContent
  - `prompt` string, required: Text description of the image you want to generate. **Tips:** - Be specific about visual details, composition, and style - Seedream 5.0 Pro delivers high-fidelity detail, strong prompt adherence, and superior composition - Describe lighting, atmosphere, and camera angles for best results **Examples:** - Simple: "A futuristic cityscape at sunset with neon lights" - Detailed: "A futuristic cityscape at sunset with neon lights, detailed architecture, volumetric lighting, cinematic composition"
  - `webhook_url` string, uri: Optional callback URL that will receive asynchronous notifications whenever the task changes status. The payload sent to this URL is the same as the corresponding GET endpoint response, but without the data field.
  - `resolution` '1.5k' | '2k': Output resolution tier. Available options: - `2k`: Base output - up to ~4.19M pixels (2048x2048 at 1:1) - `1.5k`: Economical tier - capped at ~2.36M pixels (1536x1536 at 1:1) The final image dimensions fit the selected aspect ratio within the tier's pixel budget, with each dimension rounded to a multiple of 16.
  - `aspect_ratio` 'square_1_1' | 'widescreen_16_9' | 'social_story_9_16' | 'portrait_2_3' | 'traditional_3_4' | 'standard_3_2' | 'classic_4_3' | 'cinematic_21_9': The aspect ratio of the generated image, combined with the resolution tier to compute the final dimensions. Available options: - `square_1_1`: Square format - Instagram feed, profile pictures - `widescreen_16_9`: Landscape - YouTube thumbnails, presentations - `social_story_9_16`: Portrait - TikTok, Instagram Stories - `portrait_2_3`: Tall portrait - Pinterest pins - `traditional_3_4`: Classic photo - Traditional photography - `standard_3_2`: Photo print - Standard prints - `classic_4_3`: Monitor ratio - Classic displays - `cinematic_21_9`: Ultra-wide - Cinematic banners
  - `seed` integer: Random seed for reproducibility. Using the same seed with identical parameters produces similar results. Useful for iterating on a design or creating variations.

## Response `200`

OK - The request has succeeded and the Seedream 5.0 Pro process has started.

- GetStyleTransferTaskStatus200Response
  - `data` TaskDetail, required
    - `task_id` string, uuid, required: Task identifier
    - `status` 'CREATED' | 'IN_PROGRESS' | 'COMPLETED' | 'FAILED', required: Task status
    - `generated` string[], required

## Other responses

- `400`: Bad Request - The server could not understand the request due to invalid syntax.
- `401`: Unauthorized - The client must authenticate itself to get the requested response.
- `500`: Internal Server Error - The server has encountered a situation it doesn't know how to handle.
- `503`: Service Unavailable

---

[API](https://skmtc.dev/magnific/apis/magnific-api.md) · [All operations](https://skmtc.dev/magnific/apis/magnific-api/llms.txt) · [OpenAPI document](https://skmtc.dev/magnific/apis/magnific-api/revisions/60711fb082c7?raw)
