BytePlus Seedream
Invoke BytePlus Ark API के ज़रिए BytePlus के Seedream इमेज जनरेशन family को सपोर्ट करता है। Seedream 2K/4K जनरेशन और multi-reference इमेज composition के लिए एक अच्छा विकल्प है।
API Key पाना
Section titled “API Key पाना”- BytePlus Console खोलें और sign in करें।
- Ark (model serving) product enable करें।
- एक API key बनाएँ जिसकी उन Seedream models तक पहुँच हो जिन्हें आप इस्तेमाल करना चाहते हैं।
कॉन्फ़िगरेशन
Section titled “कॉन्फ़िगरेशन”अपनी key को अपनी Invoke root डायरेक्टरी में api_keys.yaml में जोड़ें:
external_seedream_api_key: "your-seedream-api-key"
# Optional — change only if you need a different regional endpointexternal_seedream_base_url: "https://ark.ap-southeast.bytepluses.com"बदलाव लागू करने के लिए Invoke को रीस्टार्ट करें।
उपलब्ध Models
Section titled “उपलब्ध Models”| Model | Modes | Reference Images | Batch | Native Size |
|---|---|---|---|---|
| Seedream 5.0 | txt2img, img2img | 14 तक | 15 तक | 2K |
| Seedream 5.0 Lite | txt2img, img2img | 14 तक | 15 तक | 2K |
| Seedream 4.5 | txt2img, img2img | 14 तक | 15 तक | 2K |
| Seedream 4.0 | txt2img, img2img | 14 तक | 15 तक | 2K |
4.x / 5.x models batch-capable हैं और हर request में 14 तक reference इमेज स्वीकार करते हैं।
समर्थित Aspect Ratios
Section titled “समर्थित Aspect Ratios”सभी Seedream models एक ही aspect ratio set साझा करते हैं: 1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, 21:9, जो 2K पर render होते हैं।
Provider-विशिष्ट Options
Section titled “Provider-विशिष्ट Options”Seedream model चुनने पर Generate पैनल में दो toggles के साथ एक Provider options सेक्शन जुड़ जाता है:
- Watermark — Enable होने पर, BytePlus output में एक छोटा watermark जोड़ता है। Default रूप से बंद।
- Optimize Prompt — Enable होने पर, BytePlus बेहतर जनरेशन quality के लिए server-side आपका prompt दोबारा लिखता है। छोटे prompts के लिए उपयोगी; अगर आप exact शब्द सुरक्षित रखना चाहते हैं तो इसे disable करें।
दोनों इमेज metadata में दर्ज होते हैं और Recall All और Remix द्वारा restore किए जाते हैं। Size सेक्शन हर aspect ratio के लिए provider के 2K sizes को Provider size के अंतर्गत सूचीबद्ध करता है।
Canvas
Section titled “Canvas”Seedream models img2img advertise करते हैं, इसलिए वे Canvas से जनरेट कर सकते हैं: एक खाली bounding box text-to-image चलाता है, और एक भरा हुआ bounding box composited bounding box को init इमेज के रूप में भेजता है। Invoke वह provider size माँगता है जिसका aspect ratio bounding box के aspect ratio के सबसे करीब हो। Text-to-image result को bounding box को cover करने के लिए scale किया जाता है और center से उसके अनुसार crop किया जाता है, इसलिए वह कभी stretch नहीं होता; जब आकार अलग होते हैं, तो दो विपरीत किनारों पर एक पट्टी कट जाती है। Image-to-image के लिए, init इमेज को provider size में resize किया जाता है और result को वापस exact bounding box में resize किया जाता है। Render size, denoising strength, control layers और regional guidance लागू नहीं होते और पेश नहीं किए जाते। Inpainting और outpainting उपलब्ध नहीं हैं।
Seed और guidance scale 4.x / 5.x family द्वारा स्वीकार नहीं किए जाते।
रेफ़रेंस इमेज
Section titled “रेफ़रेंस इमेज”4.x और 5.x Seedream models prompt के साथ 14 तक reference इमेज स्वीकार करते हैं। Invoke का standard reference-image पैनल इस्तेमाल होता है — इमेज को अंदर drag करें, और वे base64 PNGs के रूप में API को भेज दी जाती हैं।
- Multi-image composition (उदाहरण के लिए character + product) के लिए, Seedream 4.5 एक अच्छा default है।
- बड़े batches चलाते समय (4.x / 5.x पर
num_images > 1), Invokesequential_image_generationAPI flag इस्तेमाल करता है — हर इमेज पूरी होते ही लौटा दी जाती है। - अगर आपको region-specific Ark endpoint के ज़रिए route करना है तो
external_seedream_base_urlसेट करें।