Skip to main content
Core.Today
|
ByteDanceFastHigh

Seedream 5.0 Flash Edit

ByteDance Seedream 5.0 Flash image editing via Fal.AI. Fast, low-cost editing and multi-reference composition from up to 10 input images (referenced as Figure 1, Figure 2, ...), at 1K-2K output.

63 credits
per image (63 credits/image, same price at every size)
Edit or combine up to 10 input images
Refer to inputs as Figure 1, Figure 2, ... in the prompt
Fast, budget-friendly โ€” flat price per output image
Automatic aspect ratio with auto_1K / auto_2K presets

Run it right now

Test this model instantly in the Console Playground โ€” no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "bytedance/seedream/v5/flash/edit",
  "input": {
    "prompt": "Replace the product in Figure 1 with that in Figure 2. Seamlessly render the logo in Figure 3 into the product design, in a frosted glass texture.",
    "image_urls": [
      "https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_1.png",
      "https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_2.png",
      "https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_3.png"
    ],
    "image_size": "auto_2K",
    "output_format": "jpeg"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
promptstringYes-The text prompt used to edit the image. Refer to inputs as Figure 1, Figure 2, ...
image_urlsarrayYes-Input reference images (up to 10; if more are sent, only the last 10 are used).
image_sizestringNoauto_2KOutput size preset. auto_1K / auto_2K pick the aspect ratio automatically; total pixels are between 1024x1024 and 2048x2048. Same price for every size.
auto_2Kauto_1Ksquare_hdportrait_4_3portrait_16_9landscape_4_3landscape_16_9
num_imagesintegerNo1Number of separate generations to run, one image each (1-6). Charged per image.
output_formatstringNojpegThe file format of the generated image.
jpegpng
enable_safety_checkerbooleanNotrueIf set to true, the safety checker will be enabled.

How to Provide File Input

There are 3 ways to provide files for the image_urls parameter:

Recommended

Image URL

Pass a publicly accessible URL directly. With the Storage API (POST /v1/files/upload-url) the file uploads straight to S3 (50MB per file) and you pass the returned file_url.

{
  "model": "bytedance/seedream/v5/flash/edit",
  "input": {
    "prompt": "your prompt here",
    "image_urls": ["https://example.com/image.jpg"]
  }
}

Direct Upload (Multipart)

Attach files directly to POST /v1/predictions/upload. No separate upload step, but the bytes pass through the API server so the whole request is capped at 10MB.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=bytedance/seedream/v5/flash/edit" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:image_urls=@your_file.png"
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Product swap with logo

Replace a product and render a logo onto it from three references.

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "bytedance/seedream/v5/flash/edit",
  "input": {
    "prompt": "Replace the product in Figure 1 with that in Figure 2. Seamlessly render the logo in Figure 3 into the product design, in a frosted glass texture.",
    "image_urls": [
      "https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_1.png",
      "https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_2.png",
      "https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_3.png"
    ],
    "image_size": "auto_2K",
    "output_format": "jpeg"
  }
}'

Background change

Place the subject of a single photo on a new background, two variations.

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "bytedance/seedream/v5/flash/edit",
  "input": {
    "prompt": "Place the product from Figure 1 on a sunlit marble kitchen counter with soft morning light",
    "image_urls": [
      "https://storage.googleapis.com/falserverless/example_inputs/seedreamv45/seedream_v45_edit_input_2.png"
    ],
    "num_images": 2
  }
}'

Tips & Best Practices

1Name each input by its position (Figure 1, Figure 2, ...) to say which image supplies what.
2Billing is per output image โ€” input images add no charge.
3If more than 10 images are sent, only the last 10 are used.
4Keep auto_2K to follow the inputs' framing at the highest supported size.

Use Cases

Swapping products into existing marketing shots
Applying logos and brand elements to mockups
Background and style changes at scale
Combining several references into one composition

Model Info

ProviderByteDance
Version5.0-flash
CategoryImage Generation
Price63 credits

API Endpoint

POST /v1/predictions
Try in ConsoleBack to Docs