ByteDance Seed logoByteDance SeedImage

Seedream 5.0 Flash

The Seedream Flash variant for image generation and reference-guided edits.

Pricing

Public Core prices are current quotes, not a locked rate.

Model details
SpecificationsPriceBenchmark priceReference price · not a OneAster quoteDiscount
1K
1.8 credits per 1 image1.8 credits per 1 image—
1.5K
1.8 credits per 1 image1.8 credits per 1 image—
2K
1.8 credits per 1 image1.8 credits per 1 image—

Playground

Image Generator

Model

Seedream 5.0 Flash
Settings

No images generated yet

Enter a prompt and click Generate to create your first AI image.

About this model

Capabilities & specifications

Input
Text · Image
Output
Image
Resolution
1K · 1.5K · 2K

Seedream 5.0 Flash is available in published provider integration documentation for image generation and reference-guided workflows. Provider-specific dimensions and batch limits describe that service, not a universal model guarantee.

  • Fast generation
Image generationImage editing

Examples

Seedream Flash creator example

Seedream Flash creator example

Model output documented by the source.

Third-party demonstration

Build with Seedream 5.0 Flash

Manage API keys
  • Bash
  • cURL >= 8.4
  • jq >= 1.6
  • uuidgen
bash
set -euo pipefail
: "${ONEASTER_API_KEY:?Set ONEASTER_API_KEY}"
base=$(printf '%s' 'aHR0cHM6Ly9hcGkub25lYXN0ZXIuYWkvdjE=' | jq -Rr '@base64d')
intent="${ONEASTER_INTENT_ID:-$(uuidgen)}"
printf 'Keep this intent and input: %s\n' "$intent" >&2
body=$(printf '%s' 'eyJraW5kIjoiaW1hZ2UiLCJtb2RlbCI6InNlZWRyZWFtLTUuMC1mbGFzaCIsImlucHV0Ijp7InByb21wdCI6IkEgcXVpZXQgbW91bnRhaW4gbGFrZSBhdCBzdW5yaXNlIiwiYXNwZWN0X3JhdGlvIjoiMTY6OSJ9fQ==' | jq -Rr '@base64d')
work=$(mktemp -d)
trap 'rm -rf "$work"' EXIT
request() {
  curl --fail-with-body --silent --show-error --max-time 60 --max-filesize 8388608 \
    --header "Authorization: Bearer $ONEASTER_API_KEY" "$@"
}
if [ 'task' = 'sse' ]; then
  printf '%s' "$body" | request --no-buffer --request POST "$base/chat/completions" --header 'Content-Type: application/json' --header "Idempotency-Key: $intent" --data-binary @- |
  while IFS= read -r line; do
    case "$line" in
      'data: '*)
        data="${line#data: }"
        if [ "$data" = '[DONE]' ]; then touch "$work/done"; break; fi
        printf '%s\n' "$data" | jq -e 'if .error then error("Stream failed; inspect original intent") else . end' | jq -jr '.choices[]?.delta.content // empty'
        ;;
    esac
  done
  test -f "$work/done" || { printf 'Incomplete stream; keep intent %s\n' "$intent" >&2; exit 1; }
else
  if [ 'task' = 'transcription' ]; then
    [ -n "${ONEASTER_AUDIO_FILE:-}" ] || { printf 'Set ONEASTER_AUDIO_FILE to a PCM WAV file\n' >&2; exit 1; }
    size=$(wc -c < "$ONEASTER_AUDIO_FILE")
    [ "$size" -ge 44 ] && [ "$size" -le 8388608 ] || { printf 'PCM WAV must be 44 bytes to 8 MiB\n' >&2; exit 1; }
    request --request POST "$base/audio/transcriptions" --header "Idempotency-Key: $intent" \
      --form-string "model=$(printf '%s' "$body" | jq -er '.model')" \
      --form-string "language=$(printf '%s' "$body" | jq -r '.language // empty')" \
      --form 'file=@-;type=audio/wav;filename=input.wav' < "$ONEASTER_AUDIO_FILE" > "$work/accepted"
  else
    printf '%s' "$body" | request --request POST "$base/tasks" --header 'Content-Type: application/json' --header "Idempotency-Key: $intent" --data-binary @- > "$work/accepted"
  fi
  task=$(jq -er 'select(.success == true) | .data.id | select(test("^[0-9a-fA-F-]{36}$"))' "$work/accepted")
  deadline=$(( $(date +%s) + 600 ))
  complete=false
  while [ "$(date +%s)" -lt "$deadline" ]; do
    request "$base/tasks/$task" > "$work/task"
    state=$(jq -er 'select(.success == true) | .data.state' "$work/task")
    if [ "$state" = 'success' ]; then
      jq -e '.data.billing_state == "settled" and .data.artifact_available == true' "$work/task" > /dev/null
      case "$(jq -r '.data.kind' "$work/task")" in
        image) request "$base/tasks/$task/content" --output result.png;;
        music) request "$base/tasks/$task/content" --output result.mp3;;
        asr) jq -er '.data.artifact.text' "$work/task";;
        video) jq -er '.data.artifact.url' "$work/task";;
        *) printf 'Unsupported task kind\n' >&2; exit 1;;
      esac
      complete=true; break
    fi
    case "$state" in failed|rejected|unknown) printf 'Task %s ended: %s\n' "$task" "$state" >&2; exit 1;; esac
    sleep 2
  done
  [ "$complete" = true ] || { printf 'Polling deadline; retain task %s\n' "$task" >&2; exit 1; }
fi

Questions and answers

Where do Seedream 5.0 Flash specifications come from?

The references below identify the sources for this model’s capabilities. Confirm current access, request limits and pricing with your service provider before integration.

Things to consider

Review generated results before use. Available modes and request limits depend on the service you choose; check the linked documentation before integration.

Model information sources

  • Seedream 5.0 Flash reference