تخطّي إلى المحتوى

Seedream · Lite · Text to Image

التكامل

معرّف النموذج bytedance/seedream/v5/lite/text-to-image
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/bytedance/seedream/v5/lite/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

هذا الطلب: ⁨‏0.035 $⁩ 35 رصيد API تشغيله في هذه الصفحة

الحصول على مفتاح API
ByteDance من نص إلى صورة إخراج بدقة 4Kسريع #text-to-image#bytedance#seedream-5.0-lite

تحويل النص إلى صورة باستخدام Seedream 5 Lite بأحجام من 2K إلى 4K وإنشاء متعدد الصور

أُنشئت على Doitong

أعمال عامة أُنشئت باستخدام Seedream 5.0 من مجتمع Doitong. أعد استخدام موجّه بنقرة واحدة.

الأعمال العامة المعروضة: 16
Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Бенни. Маленький мальчик ~2-3 лет, похож на JJ из Cocomelon но чуть отличается: круглое личико, большие карие глаза, тёмные короткие волосы, румяные...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Full-length view, the entire figure visible from head to feet, standing upright and centered, a gentle young mother named Jenny, around thirty years old....

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Full-length view, the entire figure visible from head to feet, standing upright and centered — Anna, a cheerful big sister about five or six years old....

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Детская зубная щетка ярко-синего цвета с мягкой щетиной. Округлая эргономичная ручка, современный дизайн, стиль 3D-анимации Cocomelon. Изолированный объект на...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Cozy colorful bedroom, warm golden sunrise from the window. Benny (blue t-shirt, round face) asleep under bear-print sheets, eyes closed. A sunbeam lies...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Интерьер светлой ванной комнаты в стиле 3D-анимации Cocomelon. Белая раковина, зеркало с лампой над ним, кафельные стены. Округлые формы, мягкое освещение,...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting...

3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Просторная кухня в стиле 3D-анимации Cocomelon с теплым желтым освещением от потолочной лампы. Большой обеденный стол, современные стулья и один высокий детский...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerf...

Art style: 3D animated Cocomelon style, bright saturated colors, soft rounded shapes, warm cheerful lighting, child-friendly cartoon aesthetic. Боб. Папа семьи, ~30-35 лет, высокий и добрый, тёмные короткие волосы, широкая улыбка, карие глаза, одет в клетчатую рубашку и брюки. 3D Cocomelon-стиль,...

إنشاء طلب

تُنشأ عناصر التحكم من مخطط النموذج. يتحدّث الرمز والسعر عند تغييرها.

•مطلوب

تعليمات نصية لتوليد الصورة.

الافتراضي auto_2K

حجم الصورة المُولّدة، ويُضبط تلقائيًا عند الحاجة للحفاظ على إجمالي عدد البكسلات عند 2560×1440 على الأقل وعند 4096×4096 على الأكثر.

num_images الافتراضي 1

عدد عمليات التوليد المستقلة للنموذج باستخدام الموجّه.

الافتراضي 1

اضبط الحد الأقصى للصور لكل عملية توليد باستخدام `max_images`؛ وتفعّل القيم الأكبر من واحد التوليد متعدد الصور. عبر عمليات التوليد `num_images`، يمكن لكل منها إعادة ما يصل إلى `max_images` من الصور، ليكون إجمالي المخرج من `num_images` إلى `max_images*num_images`.

متقدم enable_safety_checker · return_byteplus_urls
POST /run/bytedance/seedream/v5/lite/text-to-image?wait=20 عرض السعر → ⁨‏0.035 $⁩
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/bytedance/seedream/v5/lite/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

تشغيل هذا الطلب

يبقى مفتاحك في هذا المتصفح: لا يُرسل إلا إلى Doitong API ويُحفظ في localStorage فقط إذا فعّلت خيار التذكّر. الحصول على مفتاح API

حول Seedream · Lite · Text to Image

ينشئ صورًا من مطالبة نصية. يقبل `image_size` إعدادات مثل square_hd وlandscape_16_9 أو auto_2K وauto_3K وauto_4K، بإجمالي وحدات بكسل بين 2560x1440 و4096x4096. يحدد `num_images` من 1 إلى 6 عمليات إنشاء، ويتيح `max_images` لكل عملية إنشاء إرجاع عدة صور. يعيد `return_byteplus_urls` اختياريًا عناوين URL موثوقة تنتهي صلاحيتها بعد 24 ساعة.

المعاملات

أرسل الاسم الأساسي أو الاسم الأصلي، وليس كليهما. الأسماء الأساسية

الاسمالنوع الافتراضيمسموح الوصف
promptمطلوب
النوعstring
تعليمات نصية لتوليد الصورة.
image_sizeاختياري
النوعobject
الافتراضيauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_3Kauto_4K
حجم الصورة المُولّدة، ويُضبط تلقائيًا عند الحاجة للحفاظ على إجمالي عدد البكسلات عند 2560×1440 على الأقل وعند 4096×4096 على الأكثر.
num_imagesاختياري num_outputs
النوعinteger
الافتراضي1
1 – 6
عدد عمليات التوليد المستقلة للنموذج باستخدام الموجّه.
max_imagesاختياري
النوعinteger
الافتراضي1
1 – 6
اضبط الحد الأقصى للصور لكل عملية توليد باستخدام `max_images`؛ وتفعّل القيم الأكبر من واحد التوليد متعدد الصور. عبر عمليات التوليد `num_images`، يمكن لكل منها إعادة ما يصل إلى `max_images` من الصور، ليكون إجمالي المخرج من `num_images` إلى `max_images*num_images`.
enable_safety_checkerاختياري
النوعboolean
الافتراضيtrue
مفتاح فحص الأمان الذي يتطلب إعداد إيقافه تفويض الحساب. من دون هذا التفويض، يُفحص كل طلب بغض النظر عن الإعداد؛ وتفعّل true أداة الفحص.
return_byteplus_urlsاختياري
النوعboolean
الافتراضيfalse
فعّل هذا لتلقي عناوين URL موثوقة لـ seedance-2 مع فترة صلاحية مدتها 24 ساعة.
مطلوب الاسم الأساسي، مقبول أيضًا

المخرجات

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v5/lite/text-to-image",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 35,
    "usd": "0.035",
    "charged": 35,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ],
    "seed": 42
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
ملفاتك، خيارككل outputs[].url هو نسخة على تخزيننا: تُحفظ إلى الأبد (مع الدفع لكل غيغابايت-شهر) أو لمدة 7 أيام مجانًا، وفق إعداد حسابك أو ?storage=.
البنية نفسها في كل نموذجtype وurl وcontent_type وwidth وheight وduration للصور والفيديو والصوت على حد سواء. output هو كائن النتائج الخاص بالنموذج.
حقول المخرجات
images
array of object {url, content_type, file_name, file_size, width, height}الصور التي أنتجها النموذج.
seed
integerالبذرة المطبقة أثناء التوليد.

مزيد من النماذج: من نص إلى صورة

لوكلاء الذكاء الاصطناعي: تتوفر هذه الصفحة بصيغة Markdown على https://doitong.com/ar/developers/models/bytedance/seedream/v5/lite/text-to-image.md. جميع النماذج والأدلة: https://doitong.com/developers/llms.txt