Skip to content
此頁面尚未提供您使用的語言,因此目前以英文顯示。
ByteDance · Seedream

seedream-5-0-lite API

Generate images from text or references with seedream-5-0-lite on APISea.

圖片生成圖片非同步任務
模型 ID
seedream-5-0-lite

seedream-5-0-lite API 定價

所有價格皆以 USD 計價。比較 APISea 費率與相同計費單位的官方牌價。

選項APISea官方節省
預設預設$0.0308$0.0306—

價格單位為 每張圖片。

什麼是 seedream-5-0-lite?

ByteDance’s Seedream model, seedream-5-0-lite, generates images from text prompts and supports image-to-image workflows using reference images. Developers can use it to build image creation tools, reference-guided design workflows, or sequential generation experiences. Its lite name positions it as a lighter tier, without establishing a specific speed or quality advantage. Controls include aspect ratio, resolution, image count, output format, optional prompt and input-image moderation, and watermarking. The detailed parameter documentation lists 2K, 3K, and 4K resolutions with PNG or JPEG output.

On APISea, call the model through POST /v1/images/generations using your APISea key and the base URL https://api.apisea.ai/v1. Processing is asynchronous: submission returns a task ID for subsequent queries. APISea Default pricing is $0.0308 per image, with pay-as-you-go billing only for successful requests; requested image counts are pre-deducted at submission. Download completed images promptly because generated links remain valid for 72 hours.

seedream-5-0-lite 的特色

Text and reference inputs

Generate images from a required text prompt, or add reference images for image-to-image generation. References can be publicly accessible URLs or full JPEG/PNG Base64 Data URIs.

Resolution and aspect controls

Choose 2K, 3K, or 4K resolution and supported square, landscape, portrait, or ultra-wide ratios. Auto aspect matching is available when reference images are supplied.

Sequential image generation

Request 1–15 images using the n parameter. Sequential image generation is automatically enabled when n is greater than 1.

Output and submission controls

Choose PNG or JPEG output and optionally add a watermark. Enable nsfw_check to moderate prompts and input images before submitting the generation task.

4 個步驟呼叫 seedream-5-0-lite API

  1. 01

    取得 API key

    登入 APISea,儲值 $50 起,並在控制台建立 sk-sea 金鑰。

  2. 02

    設定 base URL

    在 SDK 或 HTTP 用戶端中,將 https://api.apisea.ai/v1 設為 base URL。

  3. 03

    傳送請求

    呼叫 POST /v1/images/generations,並使用下方的參數及 "model": "seedream-5-0-lite"。

  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-lite",
    "prompt": "A golden retriever playing in a garden, sunny day, high-definition photography style",
    "size": "16:9",
    "resolution": "2K",
    "n": 1
  }'

參數

參數類型必填預設說明
modelstring必填seedream-5-0-liteImage generation model name
nsfw_checkboolean選填falseWhether to run content moderation before submitting the image task.
promptstring必填—Text description for image generation
sizestring選填1:1Image aspect ratio
resolutionstring選填2KImage resolution
ninteger選填—Number of images to generate
image_urlsarray選填—Reference image URL list for image-to-image generation
output_formatstring選填jpegOutput image format
sequential_image_generationstring選填disabledSequential image generation mode
sequential_image_generation_optionsobject選填—Sequential image generation options
watermarkboolean選填falseWhether to add a watermark to the generated image

使用 seedream-5-0-lite 可以打造什麼

Prompt-based image tools

Build an interface that turns user descriptions into images, with selectable aspect ratios, resolutions, and output formats.

Reference-guided design

Let designers upload JPEG or PNG references alongside a prompt for image-to-image generation.

Multi-image creative workflows

Use sequential generation to request multiple images from a brief, then present the completed outputs for team review.

Layout-specific asset creation

Generate assets in square, widescreen, vertical, or ultra-wide formats for different layout requirements.

提升結果品質的技巧

  • 01

    Plan for asynchronous results

    Store the returned task ID and query for completion rather than expecting an image in the initial response. Save generated files within the 72-hour link window.

  • 02

    Budget image counts

    Pass n as an unquoted integer from 1 to 15. Charges are pre-deducted based on the requested count, and reference images plus requested outputs must total no more than 15.

  • 03

    Set dimensions explicitly

    Use size for aspect ratio and resolution for 2K, 3K, or 4K output; defaults are 1:1 and 2K. Use auto only with image_urls, and do not request 1K or 9:21.

  • 04

    Validate reference inputs

    Use publicly accessible URLs or complete JPEG/PNG Data URIs, not bare Base64 strings. Keep each reference within the documented 10MB, dimension, and aspect-ratio limits.

限制與須知

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

  • Generated image links expire after 72 hours.

  • Reference images plus requested outputs must total no more than 15; 1K resolution and 9:21 aspect ratio are unsupported.

seedream-5-0-lite API 常見問題

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

APISea Default pricing is $0.0308 per image, compared with a provider list price of $0.0306 per image. APISea uses pay-as-you-go billing only for successful requests; requested image counts are pre-deducted at submission.

How do I call seedream-5-0-lite through the API?

Send a POST request to https://api.apisea.ai/v1/images/generations with Bearer Token authentication using your APISea key. Set model to seedream-5-0-lite and provide a prompt; the response returns a task ID for subsequent queries.

Does seedream-5-0-lite support image-to-image generation?

Yes. Supply reference images through image_urls as public image URLs or full JPEG/PNG Base64 Data URIs, alongside the required prompt.

Which resolutions and output formats are supported?

The detailed parameter documentation lists 2K, 3K, and 4K resolutions, with 2K as the default. Outputs support PNG and JPEG, with JPEG as the default; 1K is unsupported.

How many images can I generate in one request?

The n parameter accepts an unquoted integer from 1 to 15 and defaults to 1. Reference images plus requested output images must total no more than 15, and n greater than 1 automatically enables sequential generation.

Can I use generated images commercially?

Commercial use is subject to the provider's terms. Check ByteDance’s applicable terms and any rights associated with your prompts and reference images before using outputs commercially.

相關模型

涵蓋:250+ 個模型 · 最低儲值 $50

開始使用 seedream-5-0-lite 開發

一把金鑰,$50 起按量付費,僅對成功的請求收費。