Ana içeriğe geç
bytedance avatarı

Seedream 5.0 Lite Text to Image API

bytedance/seedream-v5/text-to-image

Seedream 5.0’ın hızlı ve uygun fiyatlı Lite kademesiyle metin prompt’undan keskin 2K görseller üretin.

0.035

Model girdisi

Input

Text prompt describing the image to generate.

Output image dimensions as WxH pixels, which set both resolution and aspect ratio. All options are 2K-class (~3.7-4.3 megapixels); this tier does not produce smaller images. Price is flat regardless of the value chosen.

You need to be logged in to run this model and view results.
Log in

Model çıktısı

Output

Generated image output
Generated in 24.937 seconds
Logs (1 lines)

Örnek istekler

Örnekler

Example output 1Example output 2Example output 3

Seedream 5.0 Lite Text to Image API

Seedream 5.0 Lite Text to Image is a text-to-image AI model by bytedance. On ModelRunner it runs through a REST API or via MCP from any AI assistant, at $0.035 per image.

POST https://queue.modelrunner.run/bytedance/seedream-v5/text-to-image

cURL

# Submit a request to the queue. Input fields go at the top level of the
# body. The optional reserved "metadata" object holds your own flat string
# tags — stored on the request, never sent to the model; filter later with
# GET https://queue.modelrunner.run/requests?metadata=<url-encoded JSON>.
curl -X POST https://queue.modelrunner.run/bytedance/seedream-v5/text-to-image \
  -H "Authorization: Key $MRUN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "size": "2400x1792",
    "prompt": "A vintage screen-printed travel poster for the Dolomites with the bold headline \"DOLOMITI\" across the top, stylized j…",
    "metadata": {
      "project": "my-project"
    }
  }'
# → { "request_id": "...", "status_url": "...", "response_url": "..." }

# Poll status_url until "COMPLETED", then fetch the result
curl "https://queue.modelrunner.run/bytedance/seedream-v5/text-to-image/requests/$REQUEST_ID/status" \
  -H "Authorization: Key $MRUN_API_KEY"
curl "https://queue.modelrunner.run/bytedance/seedream-v5/text-to-image/requests/$REQUEST_ID" \
  -H "Authorization: Key $MRUN_API_KEY"

JavaScript

import { modelrunner } from "@modelrunner/client";

const result = await modelrunner.subscribe("bytedance/seedream-v5/text-to-image", {
  input: {
    "size": "2400x1792",
    "prompt": "A vintage screen-printed travel poster for the Dolomites with the bold headline \"DOLOMITI\" across the top, stylized j…"
  },
});
console.log(result);

Python

import os
import requests

headers = {"Authorization": f"Key {os.environ['MRUN_API_KEY']}"}

submitted = requests.post(
    "https://queue.modelrunner.run/bytedance/seedream-v5/text-to-image",
    headers=headers,
    json={
      "size": "2400x1792",
      "prompt": "A vintage screen-printed travel poster for the Dolomites with the bold headline \"DOLOMITI\" across the top, stylized j…"
    },
).json()

# Poll submitted["status_url"] until "COMPLETED", then:
result = requests.get(submitted["response_url"], headers=headers).json()

Input parameters

Input parameters of Seedream 5.0 Lite Text to Image
NameTypeRequiredDescription
promptstringyesText prompt describing the image to generate.
sizeenumnoOutput image dimensions as WxH pixels, which set both resolution and aspect ratio. All options are 2K-class (~3.7-4.3 megapixels); this tier does not produce smaller images. Price is flat regardless of the value chosen. One of: 2048x2048, 2752x1536, 1536x2752, 2528x1696, 1696x2528, 2400x1792, 1792x2400. Default: "2048x2048".

Machine-readable: OpenAPI schema · llms.txt

Use Seedream 5.0 Lite Text to Image from Claude & Cursor (MCP)

Point Claude Code, Claude Desktop, Cursor, or any MCP client at the ModelRunner MCP server and Seedream 5.0 Lite Text to Image becomes a tool your assistant can call directly — it authorizes via OAuth (no API key in config) and runs this model with the run_model tool using the endpoint bytedance/seedream-v5/text-to-image.

MCP client config (Claude Desktop, Cursor)

{
  "mcpServers": {
    "modelrunner": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.modelrunner.run/mcp"]
    }
  }
}

Claude Code

claude mcp add --transport http modelrunner https://mcp.modelrunner.run/mcp

Then ask your assistant, for example: “Run bytedance/seedream-v5/text-to-image on ModelRunner to generate image”. MCP setup guide.

Model Detayları

Model Detayları

Seedream 5.0 Lite Text-to-Image, yazılı bir prompt’u yüksek çözünürlüklü durağan bir görsele dönüştürür. Seedream 5.0 ailesinin hızlı ve uygun fiyatlı kademesidir: güçlü prompt uyumu ve görsel içinde doğru yazılmış metin, görsel başına sabit bir fiyatla; her çıktı 2K sınıfı çözünürlükte (kabaca 3.7-4.3 megapiksel) render edilir.

## En uygun olduğu işler - Ayrıntılı bir yazılı açıklamayı bitmiş bir görsele dönüştürmek - Görsel içinde okunaklı ve doğru yazılmış metin basmak (poster, logo, mockup, reklam) - Fotogerçekçi sahneler, ürün çekimleri, konsept çizim ve illüstrasyon - Görsel başına sabit ve öngörülebilir fiyatın önem taşıdığı yüksek hacimli üretim

## Şu durumlarda başka bir model seçin - Mevcut bir görseli düzenlemek, yeniden tarzlamak ya da birleştirmek istiyorsanız — `bytedance/seedream-v5/edit` kullanın - En yüksek sadakat ya da 2K altında çıktı gerekiyorsa — `bytedance/seedream-v5-pro/text-to-image` kullanın - Durağan görsel değil video gerekiyorsa — bir text-to-video modeli kullanın

## İpuçları - `size` hem çözünürlüğü hem en-boy oranını belirler. Her seçenek 2K sınıfıdır; bu kademe daha küçük görsel üretmez ve hepsinin fiyatı aynıdır - En doğru yazım için basılmasını istediğiniz metni prompt içinde tırnak içine alın - Özneyi, stili, ışığı ve kompozisyonu açıkça tarif edin — model ayrıntılı prompt’ları yakından izler

ModelRunner JavaScript client ile çalıştırmak için: ```js import { modelrunner } from "@modelrunner/client";

const result = await modelrunner.subscribe("bytedance/seedream-v5/text-to-image", { input: { prompt: "a serene mountain lake at golden hour, photorealistic, sharp reflection", size: "2048x2048", }, }); ```