Skip to content
Trang này chưa có bản dịch sang ngôn ngữ của bạn, nên hiện đang được hiển thị bằng tiếng Anh.
ByteDance · Seedream

seedream-5-0-pro API

Generate, edit, and decompose images with ByteDance's seedream-5-0-pro on APISea.

Tạo ảnhẢnhTác vụ bất đồng bộ
ID model
seedream-5-0-pro

Bảng giá API seedream-5-0-pro

Tất cả giá đều tính bằng USD. So sánh mức giá của APISea với giá niêm yết chính thức cho cùng đơn vị.

Tùy chọnAPISeaChính thứcTiết kiệm
Mặc địnhMặc định$0.0396$0.045−12%
1K$0.0396$0.045−12%
1K-layer$0.0198$0.0225−12%
2K$0.0792$0.09−12%
2K-layer$0.0396$0.045−12%

Giá tính theo mỗi hình ảnh.

seedream-5-0-pro là gì?

ByteDance's Seedream model seedream-5-0-pro supports image generation and reference-based editing on APISea. Build text-to-image workflows, transform a single reference image, or combine up to 10 reference images. Each request generates one image in PNG or JPEG format. Controls include 1K, 1.5K, and 2K resolution tiers, supported aspect ratios, exact pixel dimensions, background mode, and an optional watermark. For targeted edits, describe point or bounding-box coordinates in the prompt, or supply an image with hand-drawn annotations.

Requests run asynchronously and return a task ID for subsequent queries. Layer decomposition can produce a base image and up to 16 transparent PNG layers, including position and stacking information. APISea offers pay-as-you-go pricing and bills only successful requests. Default and 1K generation cost $0.0396 per image, compared with the provider list price of $0.045 per image; the default configuration is about 12% below list price.

Điểm nổi bật của seedream-5-0-pro

Multiple Image Inputs

Generate from text, edit a single image, or use up to 10 reference images in one image-to-image request.

Flexible Size Controls

Choose 1K, 1.5K, or 2K resolution tiers, supported aspect ratios, or exact pixel dimensions through the size parameter.

Targeted Interactive Editing

Use point or bounding-box coordinates in your prompt to specify an edit area. Images with hand-drawn annotations can also guide edits.

Transparent Layer Decomposition

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

Cách gọi API seedream-5-0-pro trong 4 bước

  1. 01

    Tạo API key

    Đăng nhập APISea, nạp tối thiểu $50 rồi tạo key sk-sea trong bảng điều khiển.

  2. 02

    Đặt base URL

    Dùng https://api.apisea.ai/v1 làm base URL trong SDK hoặc HTTP client.

  3. 03

    Gửi request

    Gọi POST /v1/images/generations với "model": "seedream-5-0-pro" và các tham số bên dưới.

  4. 04

    Xử lý phản hồi

    Phản hồi có chứa task_id. Gửi GET /v1/tasks/{task_id} định kỳ cho đến khi trạng thái là completed, sau đó tải xuống từ các URL kết quả.

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-pro",
    "prompt": "A cyberpunk city night scene, neon lights reflecting on wet streets",
    "size": "16:9",
    "resolution": "2K"
  }'

Tham số

Tham sốLoạiBắt buộcMặc địnhMô tả
modelstringBắt buộcseedream-5-0-proImage generation model name
nsfw_checkbooleanTùy chọnfalseWhether to run content moderation before submitting the image task.
promptstringBắt buộc—Text description for image generation
resolutionstringTùy chọn1KResolution tier (lowercase accepted). This is an APISea extension equivalent to placing the tier directly in `size`.
sizestringTùy chọnautoA tier keyword, aspect ratio, `auto`, or **exact pixel dimensions**.
backgroundstringTùy chọnopaqueOutput background mode:
layer_decompositionbooleanTùy chọnfalseWhether 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_optionsobjectTùy chọn\{"mode":"standard"}Prompt optimization mode:
nintegerTùy chọn1Number of images to generate. Only `1` is supported; use `seedream-5-0-lite` for grouped image generation.
image_urlsarrayTùy chọn—Reference image URL list for single / multi-reference image-to-image, **up to 10**
output_formatstringTùy chọnjpegOutput image format
watermarkbooleanTùy chọnfalseWhether to add an "AI generated" watermark at the bottom-right

Bạn có thể xây dựng gì với seedream-5-0-pro

Marketing Asset Generation

Build a tool that turns campaign descriptions into individual posters, covers, or other image assets using layout and aspect-ratio controls.

Reference-Based Design Workflows

Let designers submit one or several reference images alongside a prompt to generate a new image guided by those inputs.

Localized Visual Content

Create images containing native text in supported languages, including English, Chinese, Spanish, Arabic, and Japanese.

Layer-Aware Editing Tools

Add image decomposition to a design workflow so users can work with a base image and separate transparent layers, using the returned position and stacking information.

Mẹo để có kết quả tốt hơn

  • 01

    Poll for Completion

    Submit to POST /v1/images/generations and retain the returned task ID for subsequent status queries. Download completed images promptly because their links expire after 72 hours.

  • 02

    Consider the 1.5K Tier

    The documentation recommends 1.5K for better quality at the same price as 1K. Exact pixel dimensions in size override resolution; a tier-style size also takes precedence over resolution.

  • 03

    Keep Prompts Focused

    Keep descriptions within 600 English words, as overly long prompts may lose detail. For localized text, choose a language listed in the documentation.

  • 04

    Choose Layer Mode Deliberately

    Enable layer_decomposition when you need separate elements rather than only a flat image. Listed pricing is $0.0198 per image for 1K-layer and $0.0396 per image for 2K-layer.

Giới hạn và những điều cần biết

  • Generation is asynchronous and supports only one image per request, except for layer decomposition.

  • Reference inputs are capped at 10 images; grouped generation, streaming, and web-search tools are unsupported.

  • Generated image links expire after 72 hours; unsupported resolution tiers or aspect ratios return HTTP 400.

Câu hỏi thường gặp về API seedream-5-0-pro

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

Default and 1K cost $0.0396 per image, while 2K costs $0.0792 per image. Layer pricing is $0.0198 per image for 1K-layer and $0.0396 per image for 2K-layer. The default configuration is about 12% below the provider list price, and APISea bills only successful requests.

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

Send a Bearer-authenticated POST request to https://api.apisea.ai/v1/images/generations with model set to seedream-5-0-pro and a prompt. The response returns a task ID for subsequent queries rather than a completed image immediately.

Which resolution and output parameters are supported?

Use resolution for 1K, 1.5K, or 2K, and size for a tier, supported aspect ratio, auto, or exact pixel dimensions. PNG and JPEG output are supported, along with background mode and an optional watermark. Exact pixel dimensions in size override resolution.

Can I generate multiple images or use reference images?

You can supply up to 10 reference images, but n must be 1. Requests with n greater than 1, grouped-generation parameters, streaming, tools, or more than 10 references are rejected with HTTP 400, no task, and no charge.

Can I use generated images commercially?

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

How does seedream-5-0-pro compare with seedream-5-0-lite?

The pro name positions this model as a higher-capability tier, but the supplied facts do not establish comparative performance. The documentation identifies seedream-5-0-lite as the option for grouped image generation, which seedream-5-0-pro does not support.

Model liên quan

Hệ sinh thái gồm 250+ mô hình · Nạp tối thiểu $50

Bắt đầu xây dựng với seedream-5-0-pro

Chỉ cần một key, thanh toán theo mức sử dụng từ $50; chỉ tính phí cho các request thành công.