Seedream API
Text-to-image and image editing with strong typography rendering, up to 4K resolution.
curl -X POST https://runapi.ai/api/v1/seedream/edit_image \
-H "Authorization: Bearer $RUNAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "seedream-v4-text-to-image",
"image_url": "https://cdn.runapi.ai/public/samples/image.jpg",
"prompt": "Create a social media graphic for a coffee shop sale with the text '50% OFF' in bold, warm tones, 4K."
}'
import { SeedreamClient } from "@runapi.ai/seedream";
const client = new SeedreamClient();
const result = await client.editImage.run({
model: "seedream-v4-text-to-image",
image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
prompt: "Create a social media graphic for a coffee shop sale with the text '50% OFF' in bold, warm tones, 4K.",
});
<?php
require __DIR__ . "/vendor/autoload.php";
use RunApi\Seedream\SeedreamClient;
$client = new SeedreamClient();
$result = $client->editImage->run([
'model' => 'seedream-v4-text-to-image',
'image_url' => 'https://cdn.runapi.ai/public/samples/image.jpg',
'prompt' => 'Create a social media graphic for a coffee shop sale with the text \'50% OFF\' in bold, warm tones, 4K.',
]);
require "runapi/seedream"
client = RunApi::Seedream::Client.new
result = client.edit_image.run(
model: "seedream-v4-text-to-image",
image_url: "https://cdn.runapi.ai/public/samples/image.jpg",
prompt: "Create a social media graphic for a coffee shop sale with the text '50% OFF' in bold, warm tones, 4K."
)
npx skills add runapi-ai/seedream -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
# Codex
codex plugin install runapi-mcp@agents
# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
Seedream is an image generation and editing model with strong typography rendering and up to 4K output resolution. It supports text-to-image and image editing workflows with fine-grained style control.
- Wiele wariantów dla różnych poziomów szybkości i jakości
- Model skill zawiera dokumentację, schematy i notatki setupu
- Działa z workflow kodowania aplikacji
- Nie płacisz za nieudane generacje
Porównaj wszystkie warianty API
| Variant | Billing | From | |
|---|---|---|---|
| seedream-4.5-edit | call | $0.070 | Zobacz → |
| seedream-4.5-text-to-image | call | $0.070 | Zobacz → |
| seedream-5-lite-edit | call | $0.060 | Zobacz → |
| seedream-5-lite-text-to-image | call | $0.060 | Zobacz → |
| seedream-5-pro-edit | call | $0.070 | Zobacz → |
| seedream-5-pro-text-to-image | call | $0.070 | Zobacz → |
| seedream-v4-edit | call | $0.100 | Zobacz → |
| seedream-v4-text-to-image | call | $0.100 | Zobacz → |
Zainstaluj skill Seedream do tworzenia aplikacji
Wczytaj dokumentację modelu, schematy, notatki cenowe i kroki setupu do workspace kodu.
# Install the model skill for app development workflows
npx skills add runapi-ai/seedream -g
Install the Seedream skill for this app: 1. Add runapi-ai/seedream with the skills installer. 2. Load SKILL.md in this workspace. 3. Use its docs, schemas, pricing notes, and setup steps when adding model features. 4. Confirm the install path when done.
Od model skilla do pierwszego wyniku w czterech krokach
Wybierz model
Wybierz model i wariant pasujące do typu wyjścia, progu jakości i celu opóźnienia.
Konfiguracja
Ustaw klucz RunAPI i zainstaluj model skill w workspace kodu.
Implementacja
Użyj instrukcji skilla, aby dodać funkcję modelu w swojej aplikacji.
Odbiór
Odpytuj po task ID, streamuj gdy wspierane albo obsłuż callback webhook.
Czym jest API Seedream?
Seedream is optimized for typography and style control. Through RunAPI, all Seedream variants share one key and unified billing.
Dlaczego używać API Seedream przez RunAPI
Jedno uwierzytelnienie, wszyscy providerzy
Jeden klucz RunAPI odblokowuje cały katalog. Bez osobnych kont i rotacji kluczy dla każdej integracji.
Ujednolicony cennik i rozliczenia
Rozliczanie za wywołanie w USD, fakturowane co miesiąc. Nieudane generacje nie są naliczane.
Skill ze schematami
Typowane schematy i notatki setupu są spakowane w model skill, więc implementacja startuje od właściwego kontraktu.
Najczęstsze pytania
What is the maximum output resolution?
Do rozdzielczości 4K dla text-to-image. Edycja obrazu może celować w wyjście 1K, 2K lub 4K w v4.
How accurate is text rendering in Seedream?
Seedream has strong typography support — it reliably renders text like headlines, logos, and labels within generated images, especially in v4.5 and v5.
What is the difference between text-to-image and edit modes?
Text-to-image generuje od zera. Tryb edycji przyjmuje jeden lub więcej obrazów źródłowych oraz instrukcję tekstową i stosuje ukierunkowane, sterowane instrukcją modyfikacje, zachowując resztę obrazu.
Does Seedream 5 Lite use web search?
Yes — Seedream 5 Lite can perform real-time web search for time-sensitive prompts, generating images informed by current events and trends.
How fast is generation?
Seedream 4.5 generates in a few seconds. Seedream 5 Lite is faster and ~15% cheaper.
Od jakiego wariantu powinienem zacząć?
Wybierz najtańszy wariant, który spełnia Twoje wymagania jakościowe. Większość zespołów zaczyna od szybkiego wariantu, a do produkcji przechodzi na pro.
Czy jest darmowy plan?
Nowe konta otrzymują darmowe pierwsze wywołania dla każdego modelu. Później płacisz za każde wywołanie.
Czy streamujecie wyniki?
Tam, gdzie streaming jest dostępny, RunAPI streamuje end-to-end.
Jak są rozliczane nieudane próby?
Nieudane generacje nie są obciążane opłatą.
Czy wyniki są buforowane?
Wygenerowane wyniki są zapisywane i można je pobrać po ID zadania. Dane wejściowe nie są buforowane.
Czy mogę używać komercyjnie?
Tak — użycie komercyjne jest dostępne dla każdego wariantu, chyba że licencja modelu wyraźnie to ogranicza; informacja taka jest podana na stronie wariantu.
A co z limitami zapytań?
Limity na klucz rosną wraz z poziomem wykorzystania. Aktualne limity znajdziesz na stronie cennika.
Gdzie mogę zgłosić problem?
Otwórz zgłoszenie w publicznym repozytorium GitHub albo napisz do supportu.