Skip to content
Эта страница пока недоступна на вашем языке, поэтому она отображается на английском.
ByteDance · Seedream

seedream-5-0-flash API

Generate and edit images with text, reference images, and layer controls on APISea.

Генерация изображенийИзображенияАсинхронная задача
Идентификатор модели
seedream-5-0-flash

Цены на API seedream-5-0-flash

Все цены указаны в USD. Сравнение тарифов APISea с официальной ценой за ту же единицу.

ПараметрAPISeaОфициальная ценаЭкономия
По умолчаниюПо умолчанию$0.01584$0.018−12%

Цены указаны за за изображение.

Что такое seedream-5-0-flash?

ByteDance’s Seedream model, seedream-5-0-flash, generates images from text and supports image-to-image workflows with a single reference or up to 10 reference images. It is suited to applications that create individual visuals, revise existing images, or combine visual references. Outputs are available as PNG or JPEG, with 1K, 1.5K, and 2K resolution tiers, supported aspect ratios, and exact pixel dimensions through the size parameter. For targeted edits, prompts can include point or bounding-box coordinates, or inputs can contain hand-drawn annotations.

On APISea, requests run asynchronously: submit an image task, receive a task ID, and query for results. Optional layer decomposition returns a base image and up to 16 transparent PNG layers with position and stacking information. APISea Default pricing is $0.01584 per image, about 12% below the provider list price of $0.018 per image. Billing is pay-as-you-go and applies only to successful requests.

Основные особенности seedream-5-0-flash

Text and Reference Inputs

Generate from a text prompt or use single-image and multi-reference image-to-image inputs. Supply up to 10 reference image URLs.

Flexible Output Sizing

Choose 1K, 1.5K, or 2K tiers, supported aspect ratios, or exact pixel dimensions through the size parameter. Outputs support PNG and JPEG.

Targeted Image Editing

Use point or bounding-box coordinates in prompts to specify edit areas. Reference images with hand-drawn annotations can also guide edits.

Layer Decomposition

Split an image into one base image and up to 16 transparent PNG layers. Results include position and stacking information.

Как вызывать API seedream-5-0-flash за 4 шага

  1. 01

    Получите API-ключ

    Войдите в APISea, пополните баланс на сумму от $50 и создайте ключ sk-sea в консоли.

  2. 02

    Укажите базовый URL

    Укажите https://api.apisea.ai/v1 в качестве базового URL в SDK или HTTP-клиенте.

  3. 03

    Отправьте запрос

    Вызовите POST /v1/images/generations, указав "model": "seedream-5-0-flash" и параметры ниже.

  4. 04

    Обработайте ответ

    Ответ содержит task_id. Отправляйте GET /v1/tasks/{task_id}, пока статус не станет completed, а затем скачайте результаты по URL.

curl --request POST \
  --url https://api.apisea.ai/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "seedream-5-0-flash",
    "prompt": "A cyberpunk city night scene, neon lights reflecting on wet streets",
    "size": "16:9",
    "resolution": "2K"
  }'

Параметры

ПараметрТипОбязательныйПо умолчаниюОписание
modelstringОбязательныйseedream-5-0-flashImage generation model name
nsfw_checkbooleanНеобязательныйfalseWhether to run content moderation before submitting the image task.
promptstringОбязательный—Text description for image generation
resolutionstringНеобязательный1KResolution tier (lowercase accepted). This is an APISea extension equivalent to placing the tier directly in `size`.
sizestringНеобязательныйautoA tier keyword, aspect ratio, `auto`, or **exact pixel dimensions**.
backgroundstringНеобязательныйopaqueOutput background mode:
layer_decompositionbooleanНеобязательныйfalseWhether to decompose the image into layers. When enabled, the model returns one base image and up to 16 PNG layers with alpha channels.
optimize_prompt_optionsobjectНеобязательный\{"mode":"standard"}Prompt optimization mode:
nintegerНеобязательный1Number of images to generate. Only `1` is supported; use `seedream-5-0-lite` for grouped image generation.
image_urlsarrayНеобязательный—Reference image URL list for single / multi-reference image-to-image, **up to 10**
output_formatstringНеобязательныйjpegOutput image format
watermarkbooleanНеобязательныйfalseWhether to add an "AI generated" watermark at the bottom-right

Что можно создать с помощью seedream-5-0-flash

Creative Asset Generators

Build a tool that turns text briefs into individual posters, covers, or other visual assets with an appropriate aspect ratio.

Reference-Based Design Tools

Let users supply reference images alongside a prompt to guide image generation or revisions.

Localized Visual Content

Create visuals containing text in supported languages, including English, Spanish, French, German, and Japanese.

Layer Extraction Workflows

Use layer decomposition to separate image elements into transparent PNG assets for downstream composition workflows.

Советы для лучших результатов

  • 01

    Poll for Completion

    Submit the generation request, retain its task ID, and query for results. Download completed images promptly because generated links expire after 72 hours.

  • 02

    Prefer the 1.5K Tier

    The documentation recommends 1.5K for better quality at the same price as 1K. If size specifies exact pixel dimensions, resolution is ignored.

  • 03

    Keep Prompts Focused

    Keep descriptions within 600 English words, as recommended in the documentation. For edits, add point or bounding-box coordinates to identify the target area.

  • 04

    Validate Before Submission

    Set n to 1 and limit image_urls to 10 entries. Omit stream, tools, and sequential_image_generation; these unsupported options cause HTTP 400 responses with no task and no charge.

Ограничения и важные сведения

  • Generation is asynchronous and returns a task ID for subsequent queries.

  • Only one image per request is supported, except for layer decomposition; reference inputs are limited to 10 images.

  • Generated image links expire after 72 hours, and unsupported resolution tiers such as 3K and 4K return HTTP 400.

Часто задаваемые вопросы об API seedream-5-0-flash

How much does seedream-5-0-flash cost on APISea?

APISea Default pricing is $0.01584 per image, compared with the provider list price of $0.018 per image. The default configuration is about 12% below list price, with pay-as-you-go billing only for successful requests.

How do I call seedream-5-0-flash through APISea?

Send a POST request to https://api.apisea.ai/v1/images/generations with Bearer Token authentication, model set to seedream-5-0-flash, and a prompt. The asynchronous response returns a task ID for subsequent result queries.

Which resolution and size parameters are supported?

Choose 1K, 1.5K, or 2K through resolution or a tier-style size value. The size parameter also accepts supported aspect ratios, auto, or exact pixel dimensions; exact dimensions override resolution.

Can it generate multiple images or use multiple references?

It accepts up to 10 reference images but generates only one image per request, except for layer decomposition. For grouped image generation, the documentation directs users to seedream-5-0-lite.

Can I use generated images commercially?

Commercial use is subject to the provider's terms. Review the applicable terms for your intended use before deploying or distributing generated images.

Does seedream-5-0-flash support precise edits and layers?

Yes. Use point or bounding-box coordinates in prompts, or upload an image with hand-drawn annotations, to target edits. Layer decomposition returns a base image and up to 16 transparent PNG layers with position and stacking information.

Похожие модели

Более 250 моделей · Минимальное пополнение $50

Начните создавать с помощью seedream-5-0-flash

Один ключ, оплата по мере использования — от $50; плата взимается только за успешные запросы.