yandex

Bria Fibo API

starstarstarstarstar

4.8/5

Bria Fibo — нейросеть нового поколения для генерации изображений с превосходным фотореализмом, точной анатомией и профессиональным освещением.

ID для подключения по API : bria-fibo

Средняя скорость генерации ~ 22.34 сек
Дата выхода: 01/12/2025

Изображения

Генерация по тексту

Базовая генерация

Генерация по картинке

Стилизация/вариации

Средняя

Запустить через API

Выберите язык:

Как работать с Bria Fibo через API?

Получение API ключа

Для начала получите ваш API ключ в личном кабинете, если ещё не сделали этого.

Это ваш API-ключ с помощью, которого вы можете генерировать. Не сообщайте его никому.

Запрос на выполнение задачи

Теперь необходимо создать задачу на генерацию. Результат вы можете получать по-разному, можно по системе Long-Pooling, либо вы можете задать callback_url и мы отправим вам результат по готовности. Подробнее с тем, как использовать эти способы можете ознакомиться в документации. В данном примере мы рассмотрим способ с получением результата на callback_url.

В этом запросе указаны лишь обязательные параметры, если вам необходимы дополнительные параметры, то можете ознакомится с ними здесь

Пример ответа

Получение результата

На указанный в первом запросе callback_url придёт следующий ответ.

Ознакомиться с другими способами получения результата можете в документации

Параметры для генерации

callback_urlurl

Это URL, на который будет отправлен ответ от нейросети.

promptstring

Промпт.

Значение по умолчанию :

image_urlurl_or_file

Входное изображение.

structured_promptarray

Структурированный промт.

Значение по умолчанию : { "short_description": "A detailed farm animal standing inside a rustic wooden enclosure during daytime. The animal appears healthy and well-cared for, surrounded by clean straw and farm equipment.", "objects": [ { "description": "A farm animal standing calmly inside the enclosure, looking content and peaceful", "location": "center of the enclosure, slightly to the right", "relationship": "The main subject, contained within the wooden fence structure", "relative_size": "large, occupying about 50% of the enclosure space", "shape_and_color": "Natural animal shape with species-appropriate colors and markings", "texture": "Soft fur/feathers with natural patterns, clean and well-groomed appearance", "appearance_details": "Clear eyes, clean coat, healthy appearance, natural poses", "expression": "Calm, content, peaceful, curious about surroundings", "action": "Standing still or gently moving, looking around the farm", "orientation": "Facing forward at 3/4 angle, head slightly turned" }, { "description": "A sturdy wooden fence made of rough-hewn timber posts and horizontal rails", "location": "surrounding the animal, creating rectangular enclosure", "relationship": "Contains and frames the animal, defining the space", "relative_size": "medium, creating visible boundaries", "shape_and_color": "Rectangular enclosure with natural wood brown color", "texture": "Rough wood grain, slightly weathered but maintained", "appearance_details": "Visible wood knots, natural color variations, solid construction", "expression": "Sturdy, protective, rustic", "action": "Static boundary structure", "orientation": "Vertical posts with horizontal rails" } ], "background_setting": "A clean, well-maintained farm environment with other farm buildings visible in the distance. Green fields and maybe a red barn in the background. Clear blue sky with few clouds. Overall peaceful rural atmosphere.", "lighting": { "conditions": "Bright daytime sunlight, clear weather", "direction": "Overhead and slightly from the front, creating natural shadows", "shadows": "Soft shadows under the animal and fence, typical daylight pattern" }, "aesthetics": { "composition": "Animal positioned using rule of thirds, fence creates natural frame, balanced negative space showing farm background", "color_scheme": "Natural earth tones - brown wood, golden straw, green grass, blue sky", "mood_atmosphere": "Peaceful, rural, wholesome, natural farm life", "preference_score": "medium", "aesthetic_score": "medium" }, "photographic_characteristics": { "depth_of_field": "Medium depth, animal in sharp focus with background slightly softened", "focus": "Sharp on animal's eyes and facial features", "camera_angle": "Eye-level with the animal, creating connection", "lens_focal_length": "Standard lens (50mm) for natural perspective" }, "style_medium": "photograph", "context": "Professional farm animal photography for agricultural publication or farm website. Showcasing healthy animals in proper living conditions.", "artistic_style": "realistic" }

seedinteger

Случайное зерно для генерации.

step_numinteger

Количество шагов

Значение по умолчанию : 50

negative_promptstring

Негативный промпт.

guidance_scalenumeric

Масштаб управления.

Значение по умолчанию : 5

aspect_ratiostring

Соотношение сторон.

Значение по умолчанию : 1:1