# Seedream Text to Image > High-performance text-to-image generation delivering up to 2K resolution with fast inference, bilingual prompt support, and advanced editing capabilities for professional visuals. ## Overview - **Model ID**: `seedream-t2i` - **Category**: image - **Provider**: byteplus - **Status**: model_ready - **Screenshot**: `https://assets.modelslab.com/generations/5e48c89e-1e6d-42c0-a913-4dcedbb2eab9.webp` ## API Information This model can be used via our HTTP API. See the API documentation and usage examples below. ### Endpoint - **URL**: `https://modelslab.com/api/v7/images/text-to-image` - **Method**: POST ### Parameters - **`prompt`** (required): The text prompt for the type of image you want to generate - Type: textarea - Example: Enter prompt here - **`width`** (required): Width of the image - Type: number (range: 512-1024) - **`height`** (required): Height of the image - Type: number (range: 512-1024) ## Usage Examples ### cURL ```bash curl --request POST \ --url https://modelslab.com/api/v7/images/text-to-image \ --header "Content-Type: application/json" \ --data '{ "key": "YOUR_API_KEY", "model_id": "seedream-t2i", "prompt": "A cinematic, photorealistic portrait of a linneafoxx in her early 30s, camping alone in the northern wilderness during early autumn. She sits beside a small, smoldering campfire in a clearing surrounded by golden birch trees and lichen-covered rocks. The sky is overcast, casting a soft, moody light over the scene. Her blonde hair is tied back loosely, a few strands falling naturally around her face. Her face is serene but weathered from the elements — ice-blue eyes reflecting the flames, soft freckles dusted across her nose and cheeks, and a natural matte finish on her skin with visible texture from cold air and wind. She wears layered modern camping gear with artisanal detail: a thick earth-toned wool sweater, a waxed canvas jacket in slate grey, and soft cargo trousers tucked into worn hiking boots. Around her shoulders, a neutral-toned blanket scarf flutters in the breeze. Beside her, a weathered backpack leans against a mossy log, and a tin coffee mug rests on a flat stone, steam rising slowly.", "width": "768", "height": "1024" }' ``` ### Python ```python import requests response = requests.post( "https://modelslab.com/api/v7/images/text-to-image", headers={ "Content-Type": "application/json" }, json={ "key": "YOUR_API_KEY", "model_id": "seedream-t2i", "prompt": "A cinematic, photorealistic portrait of a linneafoxx in her early 30s, camping alone in the northern wilderness during early autumn. She sits beside a small, smoldering campfire in a clearing surrounded by golden birch trees and lichen-covered rocks. The sky is overcast, casting a soft, moody light over the scene. Her blonde hair is tied back loosely, a few strands falling naturally around her face. Her face is serene but weathered from the elements — ice-blue eyes reflecting the flames, soft freckles dusted across her nose and cheeks, and a natural matte finish on her skin with visible texture from cold air and wind. She wears layered modern camping gear with artisanal detail: a thick earth-toned wool sweater, a waxed canvas jacket in slate grey, and soft cargo trousers tucked into worn hiking boots. Around her shoulders, a neutral-toned blanket scarf flutters in the breeze. Beside her, a weathered backpack leans against a mossy log, and a tin coffee mug rests on a flat stone, steam rising slowly.", "width": "768", "height": "1024" } ) print(response.json()) ``` ### JavaScript ```javascript fetch("https://modelslab.com/api/v7/images/text-to-image", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "key": "YOUR_API_KEY", "model_id": "seedream-t2i", "prompt": "A cinematic, photorealistic portrait of a linneafoxx in her early 30s, camping alone in the northern wilderness during early autumn. She sits beside a small, smoldering campfire in a clearing surrounded by golden birch trees and lichen-covered rocks. The sky is overcast, casting a soft, moody light over the scene. Her blonde hair is tied back loosely, a few strands falling naturally around her face. Her face is serene but weathered from the elements — ice-blue eyes reflecting the flames, soft freckles dusted across her nose and cheeks, and a natural matte finish on her skin with visible texture from cold air and wind. She wears layered modern camping gear with artisanal detail: a thick earth-toned wool sweater, a waxed canvas jacket in slate grey, and soft cargo trousers tucked into worn hiking boots. Around her shoulders, a neutral-toned blanket scarf flutters in the breeze. Beside her, a weathered backpack leans against a mossy log, and a tin coffee mug rests on a flat stone, steam rising slowly.", "width": "768", "height": "1024" }) }) .then(response => response.json()) .then(data => console.log(data)); ``` ## Links - [Model Playground](https://modelslab.com/models/seedream-t2i/seedream-t2i) - [API Documentation](https://docs.modelslab.com) - [ModelsLab Platform](https://modelslab.com)