YepAPI
AI Models

Seedream 5.0 Flash

ByteDance's Seedream 5.0 Flash. Fast, cost-efficient AI image generation and editing.

Pricing, live playground and model overview: Seedream 5.0 Flash API on YepAPI

POST/v1/media/queue
from $0.04/image

Overview

Fast, cost-efficient image generation and editing via ByteDance's Seedream 5.0 Flash, the speed tier of the Seedream 5.0 family. Async operation — submit a job, poll for completion.

PropertyValue
Model IDbytedance-seed/seedream-5-0-flash
Aliasseedream-5-flash
ProviderByteDance
CategoryImage Generation
Aspect Ratios1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:9
Resolutions1K, 2K (default), 3K, 4K
Output Formatsjpeg (default), png
Reference ImagesSupported
BillingFlat $0.04 per image
Typical Cost$0.04 per image

Usage

All media models use the async job queue. Submit a job, then poll for the result.

Step 1: Submit Job

Text-to-Image

const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    model: 'bytedance-seed/seedream-5-0-flash',
    prompt: 'A street-food stall at night with a cook tossing noodles in a flaming wok',
  }),
});
const { data } = await res.json();
// data.jobId — use this to poll for results
curl -X POST https://api.yepapi.com/v1/media/queue \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "bytedance-seed/seedream-5-0-flash", "prompt": "A street-food stall at night with a cook tossing noodles in a flaming wok"}'

Image-to-Image (Edit / Transform)

Pass a reference image via imageData alongside your prompt to edit or transform an existing image.

const res = await fetch('https://api.yepapi.com/v1/media/queue', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    model: 'bytedance-seed/seedream-5-0-flash',
    prompt: 'Make the sky purple and add northern lights',
    imageData: {
      mimeType: 'image/png',
      base64: '...', // Base64-encoded image
    },
  }),
});

Step 2: Poll for Result

const status = await fetch(`https://api.yepapi.com/v1/media/status/${data.jobId}`, {
  headers: { 'x-api-key': 'YOUR_API_KEY' },
});
const { data: job } = await status.json();
// job.status — "pending" | "processing" | "completed" | "failed"
// job.result.image — { mimeType, base64 } when completed
curl https://api.yepapi.com/v1/media/status/JOB_ID \
  -H "x-api-key: YOUR_API_KEY"

Request Body

ParameterTypeRequiredDescriptionDefault
modelstringYesbytedance-seed/seedream-5-0-flash or alias seedream-5-flash—
promptstringYesText description of the image to generate or edit—
options.aspectRatiostringNoOne of: 1:1, 4:3, 3:4, 16:9, 9:16, 3:2, 2:3, 21:91:1
options.resolutionstringNo1K, 2K, 3K or 4K2K
options.outputFormatstringNojpeg or pngjpeg
imageData.mimeTypestringNoMIME type of input image (image/png, image/jpeg, image/webp)—
imageData.base64stringNoBase64-encoded input image for image-to-image editing—

Features

  • Fast, cost-efficient tier of Seedream 5.0
  • Suited to high-volume and interactive use
  • Reference-image editing via imageData
  • JPEG output by default

Pricing

Billing is flat: $0.04 per image at any supported resolution.

MetricCost
Cost per image$0.04
Info

Image jobs typically complete in 5–60 seconds. Results retained for 1 hour.

Under the Hood

Powered by ByteDance's Seedream 5.0 Flash via our AI provider.

On this page