Bria Fibo Generate

48 credits/call
ae_bria_fibo_generate

Create images from a text description or reference image. Control the style, composition, lighting, objects, aspect ratio, resolution, and content to avoid.

Image
48 credits/call

Pricing

48 credits/call
ConditionCharge
Each call48 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYesNo parameter description.—
request_body.seedintegerNoRandom seed for reproducibility.5555
request_body.promptstring | nullNoPrompt for image generation.—
request_body.sync_modebooleanNoIf true, returns the image directly in the response (increases latency).false
request_body.resolutionenum (1MP | 4MP)NoOutput image resolution1MP
request_body.aspect_ratioenum (1:1 | 2:3 | 3:2 | 3:4 | 4:3 | 4:5 | 5:4 | 9:16 | 16:9)NoAspect ratio. Options: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:91:1
request_body.structured_promptobjectNoThe structured prompt to generate an image from.—
request_body.structured_prompt.contextstring | nullNoThe context of the image to be generated.—
request_body.structured_prompt.objectsarray | nullNoA list of objects in the image to be generated, along with their attributes and relationships to other objects in the image.[]
request_body.structured_prompt.objects[].posestring | nullNoThe pose of the object in the image.—
request_body.structured_prompt.objects[].actionstring | nullNoThe action of the object in the image.—
request_body.structured_prompt.objects[].genderstring | nullNoThe gender of the object in the image.—
request_body.structured_prompt.objects[].texturestring | nullNoThe texture of the object.—
request_body.structured_prompt.objects[].clothingstring | nullNoThe clothing of the object in the image.—
request_body.structured_prompt.objects[].locationstring | nullNoThe location of the object in the image.—
request_body.structured_prompt.objects[].expressionstring | nullNoThe expression of the object in the image.—
request_body.structured_prompt.objects[].descriptionstring | nullNoA description of the object to be generated.—
request_body.structured_prompt.objects[].orientationstring | nullNoThe orientation of the object in the image.—
request_body.structured_prompt.objects[].relationshipstringYesThe relationship of the object to other objects in the image.—
request_body.structured_prompt.objects[].relative_sizestring | nullNoThe relative size of the object in the image.—
request_body.structured_prompt.objects[].shape_and_colorstring | nullNoThe shape and color of the object.—
request_body.structured_prompt.objects[].number_of_objectsinteger | nullNoThe number of objects in the image.—
request_body.structured_prompt.objects[].appearance_detailsstring | nullNoThe appearance details of the object.—
request_body.structured_prompt.objects[].skin_tone_and_texturestring | nullNoThe skin tone and texture of the object in the image.—
request_body.structured_prompt.lightingobjectNoThe lighting of the image to be generated.—
request_body.structured_prompt.lighting.shadowsstring | nullNoThe shadows in the image to be generated.—
request_body.structured_prompt.lighting.directionstring | nullNoThe direction of the lighting in the image to be generated.—
request_body.structured_prompt.lighting.conditionsstring | nullNoThe conditions of the lighting in the image to be generated.—
request_body.structured_prompt.aestheticsobjectNoThe aesthetics of the image to be generated.—
request_body.structured_prompt.aesthetics.compositionstring | nullNoThe composition of the image to be generated.—
request_body.structured_prompt.aesthetics.color_schemestring | nullNoThe color scheme of the image to be generated.—
request_body.structured_prompt.aesthetics.aesthetic_scorestring | nullNoThe aesthetic score of the image to be generated.—
request_body.structured_prompt.aesthetics.mood_atmospherestring | nullNoThe mood and atmosphere of the image to be generated.—
request_body.structured_prompt.aesthetics.preference_scorestring | nullNoThe preference score of the image to be generated.—
request_body.structured_prompt.text_renderarray | nullNoA list of text to be rendered in the image.[]
request_body.structured_prompt.style_mediumstring | nullNoThe style medium of the image to be generated.—
request_body.structured_prompt.artistic_stylestring | nullNoThe artistic style of the image to be generated.—
request_body.structured_prompt.short_descriptionstring | nullNoA short description of the image to be generated.—
request_body.structured_prompt.background_settingstring | nullNoThe background setting of the image to be generated.—
request_body.structured_prompt.photographic_characteristicsobjectNoThe photographic characteristics of the image to be generated.—
request_body.structured_prompt.photographic_characteristics.focusstring | nullNoThe focus in the image to be generated.—
request_body.structured_prompt.photographic_characteristics.camera_anglestring | nullNoThe angle of the camera in the image to be generated.—
request_body.structured_prompt.photographic_characteristics.depth_of_fieldstring | nullNoThe depth of field in the image to be generated.—
request_body.structured_prompt.photographic_characteristics.lens_focal_lengthstring | nullNoThe focal length of the lens in the image to be generated.—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key

Submit first, then query with the returned task_id until the task completes.

Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_bria_fibo_generate' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "aspect_ratio": "2:3",
      "prompt": "Attack Titan style giant humanoid, full body completely visible from head to toe, crouching pose with knees bent and body low, coiled with tension. Key facial features: long messy black hair, glowing green eyes, pointed elf-like ears, NO lips with exposed teeth and a wide square jaw, fleshless mouth that can bite. Body: lean but muscular build with defined muscle fiber texture instead of skin, natural humanoid proportions (not bodybuilder), exposed red and white muscle striations, steam rising from body. Clean solid light gray plain background, full front view, entire head torso arms legs feet all visible, anime style, high detail",
      "resolution": "1MP"
    }
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "description": "task accepted; poll the result via query_tool with this task_id",
  "query_tool": "ae_get_result",
  "status": "created",
  "task_id": "e18e049e-1134-4c1a-9413-8941397f1890"
}

This example shows part of the response. Copied content is valid JSON.