Seedream 4
Редактирование изображений
seedream-4
Редактирование изображений
Seedream 4.0 is ByteDance’s advanced text-to-image and image editing model, designed for high-speed, high-resolution image generation and robust contextual understanding. It unifies generation and editing in a single architecture, supports complex visual tasks with natural-language instructions, and excels at multi-reference batches and diverse style transfers. Seedream 4.0 stands out for its ability to handle both content creation and modification, offering creative professionals and enterprises an all-in-one, efficient solution for imaginative and knowledge-driven visual tasks.
Пример кода
Пример использования модели через API на Python или cURL. Замените значения-заполнители своим API-ключом и ID модели.
Базовый пример запроса. Проверьте разрешения API-ключа. Подробнее см. документацию.
Базовый пример запроса. Проверьте разрешения API-ключа. Подробнее см. документацию.
curl https://api.makura.ai/v1/images/edits \
-H "Authorization: Bearer YOUR_API_KEY" \
-F model=seedream-4 \
-F image="@image.png" \
-F 'prompt=Добавь стеклянный купол над обсерваторией'