رفتن به محتوا

Seedream · Lite · Edit

یکپارچه‌سازی

شناسه مدل bytedance/seedream/v5/lite/edit
# 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/edit?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",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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"

این درخواست: ⁨‎$۰٫۰۳۵⁩ ۳۵ اعتبار API اجرای آن در این صفحه

دریافت کلید API
ByteDance ویرایش تصویر خروجی 4Kسریع #bytedance#seedream-5.0-lite#edit

ویرایش تصویر با Seedream 5 Lite از حداکثر 10 تصویر ورودی، با اندازه‌های خروجی تا سطح 4K

ساخته‌شده در Doitong

آثار عمومی ساخته‌شده با Seedream 5.0 توسط جامعه Doitong. یک پرامپت را با یک کلیک دوباره استفاده کنید.

آثار عمومی نمایش‌داده‌شده: 16
Create a square profile picture featuring an abstract “5D” logo as an optical illusion. When view...

Create a square profile picture featuring an abstract “5D” logo as an optical illusion. When viewed small or from a distance, the “5D” should appear instantly clear through lighting, shadows, contrast, and negative space. When enlarged or viewed up close, the letters should dissolve into complex...

Art style: Cinematic Realistic. The man's hand slowly and carefully reaches out to a wooden books...

Art style: Cinematic Realistic. The man's hand slowly and carefully reaches out to a wooden bookshelf filled with neatly bound books. His fingers glide effortlessly over the spines, as if he were selecting a book by touch. The warm, soft light of the golden hour falls from the side, highlighting...

Art style: Vibrant 3D Toy Render. A wide establishing shot from a low angle of a vibrant green me...

Art style: Vibrant 3D Toy Render. A wide establishing shot from a low angle of a vibrant green meadow under a brilliant blue sky. A small blue tractor sits proudly in the center of a dirt path. Soft morning light casts long, gentle shadows across the grass. The mood is peaceful and full of...

На фоне шумного стадиона, Марк Ройс, в яркой форме, виртуозно обводит соперников, демонстрируя не...

На фоне шумного стадиона, Марк Ройс, в яркой форме, виртуозно обводит соперников, демонстрируя невероятную технику и ловкость. Он мчится к трибунам, полные восторженных болельщиков, его лицо выражает уверенность и радость. Вытянув руку вперед, над его ладонью парит сверкающий кристалл, окруженный...

make a long video with the following script The Greatest Story Ever Told: The Adi Parva Theme: Be...

make a long video with the following script The Greatest Story Ever Told: The Adi Parva Theme: Beginnings, Magic, and Family Scene 1: The Magical Forest (Setting: A peaceful forest with birds chirping. A group of young students are sitting around an old, wise storyteller named Rishi...

The Hook: Start with a blank piece of paper and a single, strange squiggle. The Action: Use a fas...

The Hook: Start with a blank piece of paper and a single, strange squiggle. The Action: Use a fast-motion (time-lapse) effect to turn that squiggle into a recognizable animal or character. The Twist: At the end, use a "transition" where you tap the drawing, and a real-life object related to the...

Ключевая задача: лицо девушки со второго фото должно быть полностью перерисовано в художественном...

Ключевая задача: лицо девушки со второго фото должно быть полностью перерисовано в художественном, живописном стиле первой картины. Обработай черты лица так, чтобы они выглядели нарисованными, с видимыми мазками кисти, текстурой холста и в той же цветовой палитре, что и на первом изображении. При...

Art style: 3D Pixar. Аня сидит на полу в гостиной, пока ребенок спит девочкой 3х лет светловолосо...

Art style: 3D Pixar. Аня сидит на полу в гостиной, пока ребенок спит девочкой 3х лет светловолосой , и рисует в большом скетчбуке акварелью. Она полностью поглощена процессом. Вокруг разложены краски и кисти. На ее лице — улыбка чистого, незамутненного счастья....

ساخت درخواست

کنترل‌ها از شِمای مدل تولید می‌شوند. با تغییر آن‌ها، کد و قیمت به‌روزرسانی می‌شوند.

•الزامی

دستورهای متنی برای ویرایش تصویر.

•الزامی image_urls
یک فایل بیندازید، یا

نشانی تصویرهای ویرایشی؛ اگر فهرست طولانی‌تر باشد، 10 مورد آخر پردازش می‌شوند. حد فعلی ورودی 10 تصویر است.

پیش‌فرض 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
POST /run/bytedance/seedream/v5/lite/edit?wait=20 قیمت → ⁨‎$۰٫۰۳۵⁩
# 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/edit?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",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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 · Edit

تصاویر را بر اساس یک پرامپت متنی ویرایش یا ترکیب می‌کند. `image_urls` حداکثر 10 ورودی می‌پذیرد؛ تصاویر بیشتر از 10 مورد حذف می‌شوند و 10 مورد آخر باقی می‌مانند. `image_size` پیش‌تنظیم‌ها و همچنین auto_2K، auto_3K و auto_4K را ارائه می‌دهد. `num_images` از 1 تا 6 تولید اجرا می‌کند و `max_images` امکان چند تصویر در هر تولید را فراهم می‌کند.

پارامترها

نام استاندارد یا نام بومی را ارسال کنید، نه هر دو. نام‌های استاندارد

نامنوع پیش‌فرضمجاز توضیحات
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
۱ – ۶
تعداد اجرای مستقل تولید مدل با استفاده از پرامپت.
max_imagesاختیاری
نوعinteger
پیش‌فرض1
۱ – ۶
سقف تصویر هر تولید را با `max_images` تعیین کنید؛ مقادیر بیشتر از یک، تولید چندتصویری را فعال می‌کنند. در `num_images` تولید، هر تولید حداکثر `max_images` تصویر می‌دهد و مجموع خروجی از `num_images` تا `max_images*num_images` است.
enable_safety_checkerاختیاری
نوعboolean
پیش‌فرضtrue
کلید بررسی ایمنی که حالت خاموش آن به مجوز حساب نیاز دارد. بدون این مجوز، هر درخواست صرف‌نظر از تنظیم بررسی می‌شود؛ true بررسی‌کننده را فعال می‌کند.
image_urlsالزامی images
نوعurl[] · image
نشانی تصویرهای ویرایشی؛ اگر فهرست طولانی‌تر باشد، 10 مورد آخر پردازش می‌شوند. حد فعلی ورودی 10 تصویر است.
الزامی نام استاندارد، همچنین پذیرفته می‌شود

پارامترهای فایل یک URL عمومی https://، یک URI از نوع data: تا سقف 10 MB، یا file_url یک فایل بارگذاری‌شده را می‌پذیرند. فایل‌ها

خروجی

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v5/lite/edit",
  "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",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "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 کپی‌ای در فضای ذخیره‌سازی ماست: برای همیشه (با هزینه به‌ازای هر GB-ماه) یا به‌مدت ۷ روز رایگان، بر اساس تنظیم حساب شما یا ?storage=.
ساختار یکسان در همه مدل‌هاtype، url، content_type، width، height و duration برای تصاویر، ویدیو و صدا یکسان هستند. output شیء نتیجه اختصاصی مدل است.
فیلدهای خروجی
images
array of object {url, content_type, file_name, file_size, width, height}تصویرهای تولیدشده توسط مدل.
seed
integerseed اعمال‌شده هنگام تولید.

مدل‌های بیشتر: ویرایش تصویر

برای عامل‌های هوش مصنوعی: این صفحه به‌صورت Markdown در دسترس است https://doitong.com/fa/developers/models/bytedance/seedream/v5/lite/edit.md. همه مدل‌ها و راهنماها: https://doitong.com/developers/llms.txt