Try Seedream 5.0 Flash API online for image generation and editing, with up to 10 references, custom sizes, real examples and integration guides.
Provider: ByteDance
Category: image generation
Endpoint: /v1/tasks
Status: Available
Cost: See live page pricing
Try Seedream 5.0 Flash API online for image generation and editing, with up to 10 references, custom sizes, real examples and integration guides.
Pricing
Standard Usage
Optional; edit one image or blend up to 10 references
Auto uses JPEG normally and PNG for transparent output
Transparent output requires one reference with an alpha channel; choose PNG or Auto
Choose a resolution preset or set a custom width and height.
Off by default; enable to add an AI-generated watermark
Ready for generation
Configure your parameters and click "Run" to see the output here.
Inspect the full result, visual details and original prompt.
Choose an adjacent model by task, output tier, and reference-image needs.
Explore reference limits, sizes, formats and quality settings for Seedream 5.0 Flash.
Final cost depends on the output tier and input add-ons. Check the live page price and task record for the final charge.
Choose the destination and aspect ratio before composing subject, scene, material, light, and text.
Copy a minimal request below. See Docs for parameters, callbacks, task retrieval, and errors.
POST /v1/tasksseedream-5.0-flashcurl -X POST "https://api.hiapi.ai/v1/tasks" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedream-5.0-flash",
"input": {
"prompt": "A cinematic product campaign with sharp text",
"size": "2K",
"background": "opaque",
"watermark": false
}
}'The create request immediately returns a taskId; image generation continues asynchronously.
SEEDREAM 5.0 FLASH · IMAGE CREATION
Seedream 5.0 Flash is ByteDance’s image generation and editing model. Start with text to bring together a subject, materials, light and setting, or supply existing images and describe what to preserve and change. It fits product-staging concepts, content imagery and design proposals, giving teams something concrete to discuss before production.
Without source material, the brief defines the image. With a product shot, scene or design in hand, references provide visual context. Both paths use the same model, so moving into an edit does not require choosing another version. Define where the image will be used and what must stay recognizable; that makes the result easier to assess than a brief packed with competing requests.
01 / PRODUCTS & MATERIALS
The teapot example places teal ceramic, a walnut handle and pale stone in shared morning light. Look at the shading across the body, the handle texture, the separation from the background and the steam suggesting warmth. Together they communicate a staging and lighting direction, rather than an isolated product silhouette.
Use this kind of image to explore backgrounds, surfaces and lighting before a shoot, or as a visual draft in a product proposal. When the final asset must match a real item, provide a product reference and check its outline, structure, color and markings. A text-generated concept cannot establish product facts.
02 / COMPOSITION & DELIVERY
A web hero needs horizontal space, mobile content needs a vertical hierarchy, and a product tile often benefits from a centered composition. Explicit dimensions let the destination, subject placement and negative space inform the brief together. Resolution presets do not fix an aspect ratio. For an exact shape, enter pixel dimensions and describe where the subject and space for later layout should go.
Web banner
1536 × 1024
Square visual
1024 × 1024
Portrait content
03 / REFERENCES & EDITING
References can supply a product’s appearance, an environment or a visual style. For one-image edits, distinguish requested changes from elements to preserve. With several images, identify which supplies the subject, which provides the setting and which contributes only color. Clear roles give the creative brief a more definite direction than leaving those relationships unstated.
Preserve appearance and key details
Define space and staging
Guide color, texture or mood
Start with visual exploration, assess the result against its destination, then decide what to carry into production.
Combine a product concept or existing product image with material, background and lighting requirements to create staging drafts for review. Agree on the visual direction before handing it to photography or design, and check dimensions, lettering and structure against the actual item.
Deliverable: product proposals and shoot references
Use a subject and canvas brief to create visuals for an article, campaign mood or social post. Establish the focal point and negative space, then add final headlines, logos and campaign details in a design tool so the text and image can each be refined.
Deliverable: web, editorial and social visuals
Combine color, geometry, materials and environment in a concept image for discussions about brand character or spatial mood. When continuing an existing visual language, add references and identify exactly which elements to borrow, avoiding unrelated content from those sources.
Deliverable: visual proposals and mood boards
Adjust the parameters in Playground, inspect the result, and use the confirmed request in your application. HiAPI uses a unified API key, with task retrieval or callbacks for results. Estimates appear before a run; the task response states image retention. Creators can establish the visual direction before developers bring the same inputs into a product.
Omit references for text-to-image generation. Add one image for editing or several to combine subjects, scenes or styles. Both use the same model ID, with up to 10 references.
Set size to 1K, 1.5K, 2K or WIDTHxHEIGHT. Use pixel dimensions for an exact ratio: 921600–4624220 total pixels and a ratio between 1:16 and 16:1. A 4K preset is not available.
Use transparent only when editing one reference that already has an alpha channel. Choose PNG or leave the format automatic. It is not a general background-removal switch.
Each task returns one completed image through task retrieval. Batch generation, streamed images and layer decomposition are not exposed.
Save taskId after submission, retrieve the task until success, then read the image URL from output. Follow expireAt for retention and save assets you need to keep.
Text generation is useful for exploring staging, backgrounds and light, or making visual proposals. If an image must match a real product, supply a reference and check structure, color, markings and lettering. Generated concept details are not product facts.
Assign a role to each image: for example, the first supplies the product, the second the setting, and the third only the color palette. Describe the intended result and details to preserve, avoiding conflicting requirements across references.
Supply the previous result as a reference in a new task and describe the next change. Tasks are independent and do not automatically remember earlier conversations, images or edits.
Check the Playground estimate before running and the task record afterward. Each task produces one image; the page’s pricing section shows the applicable charge.
Start with the subject, environment, and visual goal, then add material, light, camera, and exact text.
Draft
1K
Final
2K
Choose size and file format. For editing, add references and specify what to preserve and change.
Confirm the result in Playground, then reuse the same prompt and model ID in an asynchronous task.
1024 × 1536
Images + edit brief → one new image
Each task reads the material supplied with that request. To continue an edit, provide the previous result as a new reference; there is no automatic memory of the last task. Transparent output requires editing one image that already has an alpha channel, with PNG or automatic output format.