تحرير الصور باستخدام SeedEdit
استخدم CometAPI POST /v1/images/edits لتحرير الصور باستخدام ByteDance SeedEdit (Seedream) — طبّق تعديلات موجّهة عبر Prompt، وأقنعة، وتغييرات مختلفة مع مخرجات سريعة.
Documentation Index
Fetch the complete documentation index at: https://apidoc.cometapi.com/llms.txt
Use this file to discover all available pages before exploring further.
نظرة عامة
حرّر الصور باستخدام نموذج SeedEdit من ByteDance عبر نقطة النهاية القياسية المتوافقة مع OpenAI/v1/images/edits. طبّق تعديلات موجّهة عبر Prompt، وأقنعة، وتغييرات مختلفة.
للاطلاع على توثيق المعلمات بالتفصيل، راجع توثيق VolcEngine SeedEdit.التفويضات
Bearer token authentication. Use your CometAPI key.
الجسم
Incoming images need to fulfill the following conditions: Image format: jpeg, png. Aspect ratio (width/height): in the range (1/3, 3). Aspect length (px) > 14. Size: no more than 10MB.
A text description of the desired image(s).
- Max length: 1000 chars for dall-e-3, 32000 chars for gpt-image-1.
"Put on glasses"
Model to use: bytedance-seedEdit-3.0-i2i, doubao-seededit-3-0-i2i-250628, seedream-4-0-250828
"bytedance-seedEdit-3.0-i2i"
Response format. Options: "url" or "b64_json". Only "dall-e-3" supports "url" (valid for 60 minutes).
url, b64_json Output image size. Use adaptive to match the input image dimensions.
"adaptive"
Random seed for reproducible outputs. Range: -1 to 2147483647. Use -1 (default) for random generation.
Controls how strongly the prompt influences the result vs. the input image. Range: 1.0–10.0. Higher values follow the prompt more closely.
When true, adds an 'AI Generated' watermark to the bottom-right corner of the output image.