Muse Image
Muse Image: генерация и редактирование изображений.
Стоимость
0,7 токена
Попробовать Muse Image в Givon AI
Открой рабочий проект для обычной генерации или Playground, чтобы проверить точные параметры модели.
Использовать через API
Поля запроса, ограничения и готовые примеры для разработчиков. Пользовательский запуск находится выше.
IDEMPOTENCY_KEY="${IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.givon.ai/api/v1/generations \
-H "Authorization: Bearer $GIVON_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"image","model":"muse-image","input":{"prompt":"студийный портрет рыжего корги, мягкий свет","aspectRatio":"auto","sourceImage":"asset://asset_...","referenceAssetUris":["asset://asset_..."]}}'Входные поля
* — обязательное| Поле | Тип | По умолчанию | Допустимо |
|---|---|---|---|
prompt* promptImage description. | string | — | до 200000 симв. |
aspectRatio aspectRatio | string | auto | auto, 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21 |
Source image sourceImageAsset used as the source image for image editing. | string | — | image · asset, https, data |
Reference images referenceAssetUrisOptional reference images as asset:// URIs, HTTPS URLs, or data URIs. Up to 10 input images in total; with sourceImage, up to 9 additional references. | array | — | image · до 10 · asset, https, data |
promptImage description.
- Тип
- string
- По умолчанию
- —
- Допустимо
- до 200000 симв.
aspectRatio- Тип
- string
- По умолчанию
- auto
- Допустимо
- auto, 21:9, 16:9, 4:3, 3:2, 1:1, 2:3, 3:4, 9:16, 9:21
sourceImageAsset used as the source image for image editing.
- Тип
- string
- По умолчанию
- —
- Допустимо
- image · asset, https, data
referenceAssetUrisOptional reference images as asset:// URIs, HTTPS URLs, or data URIs. Up to 10 input images in total; with sourceImage, up to 9 additional references.
- Тип
- array
- По умолчанию
- —
- Допустимо
- image · до 10 · asset, https, data
Стоимость
0,7 токенаВариант подбирается по полям запроса автоматически — указывать его не нужно.
Возможности
text_to_imageimage_editsourceImage:imagereferenceAssetUris:image[]<=10