Models / Text to image

Seedream 4.0 - API, Playground & Pricing

ByteDance Seedream 4.0 makes images from a prompt or edits one or two pictures you supply, at 2K sizes from square to panoramic. Run it in the playground, call its API, or let Claude Code, Codex or Cursor run it through one FlyMy.AI MCP. No ByteDance API key: runs are billed to your FlyMy.AI balance.

Provider
ByteDance
Category
Text to image / Text and image to image
Price
$0.03 / run ($0.03 at the defaults)
Sizes
8 sizes, up to 2048x2048
Returns
image
Commercial use
Allowed
Model ID
flymyai/bytedance-seedream
Seedream 4.0 by ByteDance: text and image to image sample, 2K images and edits
Seedream 4.0 sample from the FlyMy.AI catalog

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Seedream 4.0 in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

Read https://flymy.ai/skill.md and https://flymy.ai/models/bytedance-seedream.md. Help me connect the FlyMy.AI MCP to this assistant, then run Seedream 4.0 (flymyai/bytedance-seedream) for this task: Generate a product photo of a red vintage bicycle against a pastel wall with Seedream 4.0.
Open FlyMy.AIDownload brief

What Seedream 4.0 does

Seedream 4.0 handles generation and editing in one model: give it only a prompt to create an image, or add image and image1 to restyle, combine or change them. Pick one of eight output sizes, from 2048x2048 square to 3024x1296 panoramic, and turn the watermark on or off. Newer Seedream versions (4.5, 5.0 Lite and 5.0 Pro) are on FlyMy.AI too.

Seedream 4.0 inputs

Every input of flymyai/bytedance-seedream as its live schema lists them. Returns image (file).

InputType, values and default
# prompt
string required
# image, image1
file optional Allowed: image file, as a URL or upload
# size
string optional Allowed: 2048x2048, 2304x1728, 1728x2304, 2560x1440, 1440x2560, 2496x1664, 1664x2496, 3024x1296
# watermark
boolean optional Default: false

Ask your agent

Requests to paste as they are, once the FlyMy.AI MCP is connected.

“Generate a product photo of a red vintage bicycle against a pastel wall with Seedream 4.0.”runs flymyai/bytedance-seedream
“Make three versions of a poster for a yoga class in the park with Seedream 4.0 and send me the links.”runs flymyai/bytedance-seedream
“Use Seedream 4.0 to place the product from the photo I attach on a busy cafe table by the window.”runs flymyai/bytedance-seedream

Seedream 4.0 price

$0.03 per run. A run at the default settings costs $0.03. Billed to your FlyMy.AI balance; no seats, no subscription and no minimum.

Seedream 4.0 vs similar models

Popular text to image models beside it, with prices from billing and settings from each live schema.

ModelProviderKindPriceDefault runSizesResolution
Seedream 4.0ByteDanceText and image to image$0.03 / run$0.038 sizes, up to 2048x2048
Nano Banana 2.1GoogleText and image to imagefrom $0.0336 / image$0.03361K, 2K, 4K
Nano Banana 2GoogleText and image to imagefrom $0.0672 / image$0.06721K, 2K, 4K
Seedream 5.0 ProByteDanceText and image to imagefrom $0.045 / run$0.0911 sizes, up to 2048x2048

Seedream 4.0 API

The same model from your own code or from an agent. Send your FlyMy.AI API key in the X-API-KEY header; get a key in your account.

cURL

Form fields, not JSON; files go as uploads or public URLs. The answer is a prediction_id; read the result at https://api.flymy.ai/api/v1/flymyai/bytedance-seedream/predict/async/result/?request_id=<prediction_id>.

curl -X POST https://api.flymy.ai/api/v1/flymyai/bytedance-seedream/predict/async/ \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -F 'prompt=A ceramic mug on a sunlit kitchen counter, product photo'

Python

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

# pip install flymyai
import os

from flymyai import client

fma = client(apikey=os.environ["FLYMYAI_API_KEY"])
response = fma.predict(
    model="flymyai/bytedance-seedream",
    payload={
        "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
    },
)
print(response.output_data)

JavaScript / TypeScript

The FlyMy.AI SDK sends the same fields; a file input also takes a public URL.

// npm install flymyai-js-client
import { FlyMyAI } from "flymyai-js-client";

const client = new FlyMyAI({ apiKey: process.env.FLYMYAI_API_KEY });
const response = await client.predict(
  {
    "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
  },
  "flymyai/bytedance-seedream",
);
console.log(response.output_data);

MCP

Your agent calls get_model_schema, then run_model with:

{
  "endpoint_id": "flymyai/bytedance-seedream",
  "input": {
    "prompt": "A ceramic mug on a sunlit kitchen counter, product photo"
  }
}

Questions about Seedream 4.0

Do I need a ByteDance API key for Seedream 4.0?

No. Seedream 4.0 runs on FlyMy.AI's account, so you need no ByteDance key or plan: sign in to FlyMy.AI once and each run is billed to your FlyMy.AI balance.

How much does Seedream 4.0 cost?

$0.03 per run. There is no subscription or minimum; the price comes from FlyMy.AI billing and was checked on 2026-11-18.

Can I try Seedream 4.0 before I write code?

Yes. Open Seedream 4.0 in the FlyMy.AI playground at https://app.flymy.ai/models/flymyai/bytedance-seedream, fill in its inputs and run it; the same run is one API call later, billed the same way.

How do I use Seedream 4.0 in Claude Code, Codex or Cursor?

Add the FlyMy.AI MCP with one command and sign in, then ask in plain words, for example: "Generate a product photo of a red vintage bicycle against a pastel wall with Seedream 4.0." Your agent reads the inputs with get_model_schema and runs flymyai/bytedance-seedream with run_model.

What does Seedream 4.0 need as input?

Seedream 4.0 requires prompt; it also takes 4 optional inputs, each listed on this page with its allowed values and default.

Can I call Seedream 4.0 from my own code?

Yes. Send form fields to https://api.flymy.ai/api/v1/flymyai/bytedance-seedream/predict/async/ with your FlyMy.AI API key in the X-API-KEY header.

Go to the source

From the FlyMy.AI model catalog of 2026-11-18: inputs from each model's live schema, prices from FlyMy.AI billing. Requests are examples to paste, not recorded runs.