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.
- عدة إصدارات لمستويات مختلفة من السرعة / الجودة
- يتضمن model skill التوثيق والـschemas وملاحظات الإعداد
- يعمل مع workflows موجهة لتطوير التطبيقات
- لا يتم احتساب رسوم على عمليات التوليد الفاشلة
قارن جميع إصدارات API
| Variant | Billing | From | |
|---|---|---|---|
| seedream-4.5-edit | call | $0.070 | عرض → |
| seedream-4.5-text-to-image | call | $0.070 | عرض → |
| seedream-5-lite-edit | call | $0.060 | عرض → |
| seedream-5-lite-text-to-image | call | $0.060 | عرض → |
| seedream-5-pro-edit | call | $0.070 | عرض → |
| seedream-5-pro-text-to-image | call | $0.070 | عرض → |
| seedream-v4-edit | call | $0.100 | عرض → |
| seedream-v4-text-to-image | call | $0.100 | عرض → |
ثبّت skill Seedream لتطوير التطبيقات
حمّل توثيق النموذج والـschemas وملاحظات الأسعار وخطوات الإعداد إلى مساحة عمل الكود.
# 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.
من model skill إلى أول نتيجة في أربع خطوات
اختر النموذج
اختر النموذج والإصدار المناسبين لنوع المخرجات ومستوى الجودة وزمن الاستجابة المستهدف.
الإعداد
اضبط مفتاح RunAPI وثبّت model skill في مساحة عمل الكود.
التنفيذ
استخدم تعليمات المهارة لإضافة ميزة النموذج داخل تطبيقك.
الاستلام
استعلم عبر task ID أو استخدم البث عند دعمه أو عالج webhook callback.
ما هي Seedream API؟
Seedream is optimized for typography and style control. Through RunAPI, all Seedream variants share one key and unified billing.
لماذا تستخدم Seedream API عبر RunAPI
مصادقة واحدة لكل مزود
مفتاح RunAPI واحد يفتح الوصول إلى الكتالوج بالكامل. لا حسابات منفصلة، ولا تدوير مفاتيح لكل تكامل.
تسعير وفوترة موحّدان
تسعير لكل استدعاء بالدولار الأمريكي، ويُفوتر شهريًا. لا تُحتسب التوليدات الفاشلة.
Skill مع schemas
تأتي الـschemas المعرّفة وملاحظات الإعداد داخل model skill حتى يبدأ التنفيذ من العقد الصحيح.
أسئلة شائعة
What is the maximum output resolution?
حتى دقة 4K لتوليد الصور من النص. يمكن لتحرير الصور استهداف مخرجات بدقة 1K أو 2K أو 4K على 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?
توليد الصور من النص يُنشئ صوراً من الصفر. وضع التحرير يقبل صورة مصدر واحدة أو أكثر مع تعليمات نصية ويُطبّق تعديلات موجّهة بالتعليمات مع الحفاظ على بقية الصورة.
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.
أي نسخة ينبغي أن أبدأ بها؟
اختر أرخص نسخة تفي بمعيار الجودة لديك. يبدأ معظم الفرق بالنسخة السريعة ثم ينتقلون إلى pro للإنتاج.
هل توجد خطة مجانية؟
تحصل الحسابات الجديدة على أول طلبات مجانية على كل نموذج. بعد ذلك، الدفع حسب كل طلب.
هل تدعمون البث المباشر للنتائج؟
حيث يتوفر البث المباشر، يوفّر RunAPI البث من البداية إلى النهاية.
كيف يتم احتساب الرسوم عند الفشل؟
لا يتم تحصيل رسوم على عمليات التوليد الفاشلة.
هل يتم تخزين المخرجات مؤقتًا؟
يتم حفظ المخرجات المولدة ويمكن استرجاعها بواسطة task ID. لا يتم تخزين المدخلات مؤقتًا.
هل يمكنني الاستخدام تجاريًا؟
نعم — يشمل كل إصدار الاستخدام التجاري ما لم يقيّده ترخيص النموذج صراحةً، ويُشار إلى ذلك في صفحة الإصدار.
ماذا عن حدود المعدل؟
تتدرج حدود المعدل لكل مفتاح وفق فئة الاستخدام. راجع صفحة الأسعار للاطلاع على الحدود الحالية.
أين يمكنني الإبلاغ عن المشاكل؟
افتح issue في مستودع GitHub العام أو راسل الدعم عبر البريد الإلكتروني.