{"code":200,"message":"success","data":{"components":{"schemas":{"Aesthetics":{"properties":{"aesthetic_score":{"type":"string"},"color_scheme":{"type":"string"},"composition":{"type":"string"},"mood_atmosphere":{"type":"string"},"preference_score":{"type":"string"}},"type":"object"},"Input":{"additionalProperties":false,"properties":{"aspect_ratio":{"default":"1:1","description":"The aspect ratio of the generated media.","enum":["1:1","2:3","3:2","3:4","4:3","4:5","5:4","9:16","16:9"],"type":"string"},"images":{"description":"Optional reference image. Bria FIBO Generate supports one reference image.","items":{"type":"string"},"maxItems":1,"type":"array"},"prompt":{"description":"The prompt to use for the generation.","minLength":1,"type":"string"},"resolution":{"default":"1mp","description":"The resolution of the output image.","enum":["1mp","4mp"],"type":"string"},"seed":{"description":"The random seed to use for the generation. -1 means a random seed will be used.","type":"integer"},"structured_prompt":{"description":"Advanced VGL/JSON prompt serialized as a JSON string. Expand only when precise structured control is needed.","type":"string","x-hidden":true,"x-ui-component":"textarea"},"style_id":{"description":"Optional Bria style preset. Leave unset for no preset.","enum":["photoreal"],"type":"string"}},"required":["prompt"],"type":"object","x-order-properties":["prompt","images","style_id","aspect_ratio","resolution","structured_prompt","seed"]},"Lighting":{"properties":{"conditions":{"type":"string"},"direction":{"type":"string"},"shadows":{"type":"string"}},"type":"object"},"PhotographicCharacteristics":{"properties":{"camera_angle":{"type":"string"},"depth_of_field":{"type":"string"},"focus":{"type":"string"},"lens_focal_length":{"type":"string"}},"type":"object"},"PredictionResponse":{"properties":{"created_at":{"description":"ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”).","format":"date-time","type":"string"},"id":{"description":"Unique identifier for the prediction, the ID of the prediction to get.","type":"string"},"model":{"description":"Model ID used for the prediction.","type":"string"},"outputs":{"description":"Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model.","items":{"oneOf":[{"type":"string"},{"type":"object"}]},"type":"array"},"status":{"description":"Status of the task: created, processing, completed, or failed.","type":"string"},"urls":{"description":"Object containing related API endpoints.","type":"object"}},"type":"object"},"PromptObject":{"additionalProperties":true,"properties":{"action":{"type":"string"},"appearance_details":{"type":"string"},"clothing":{"type":"string"},"description":{"type":"string"},"expression":{"type":"string"},"gender":{"type":"string"},"location":{"type":"string"},"number_of_objects":{"type":"integer"},"orientation":{"type":"string"},"pose":{"type":"string"},"relationship":{"type":"string"},"relative_size":{"type":"string"},"shape_and_color":{"type":"string"},"skin_tone_and_texture":{"type":"string"},"texture":{"type":"string"}},"type":"object"},"StructuredPrompt":{"additionalProperties":true,"properties":{"aesthetics":{"$ref":"#/components/schemas/Aesthetics"},"artistic_style":{"description":"Artistic style.","type":"string"},"background_setting":{"description":"Background or environment.","type":"string"},"context":{"description":"Additional scene context.","type":"string"},"lighting":{"$ref":"#/components/schemas/Lighting"},"objects":{"description":"Objects, people, and their relationships in the scene.","items":{"$ref":"#/components/schemas/PromptObject"},"type":"array"},"photographic_characteristics":{"$ref":"#/components/schemas/PhotographicCharacteristics"},"short_description":{"description":"Short description of the intended image.","type":"string"},"style_medium":{"description":"Visual medium or rendering technique.","type":"string"},"text_render":{"description":"Text elements to render.","items":{},"type":"array"}},"type":"object","x-hidden":true,"x-order-properties":["short_description","objects","background_setting","lighting","aesthetics","photographic_characteristics","style_medium","text_render","context","artistic_style"]}},"securitySchemes":{"apiKeyAuth":{"in":"header","name":"Authorization","type":"apiKey"}}},"info":{"description":"The WaveSpeed API.","title":"WaveSpeed API","version":"3.0.0"},"openapi":"3.0.0","paths":{"/api/v3/bria/fibo-generate-1.5/text-to-image":{"post":{"description":"Submit a request to run the model and create a prediction.","operationId":"createPrediction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input"}}},"description":"Input parameters for the model.","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionResponse"}}},"description":"Prediction request accepted."}},"summary":"Create prediction"},"x-api-name":"model_run"},"/api/v3/predictions/{request_id}/result":{"get":{"description":"Retrieve the current status and result of a prediction.","operationId":"getPredictionResult","parameters":[{"description":"The ID of the prediction request.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionResponse"}}},"description":"Prediction result."}},"summary":"Get prediction result"},"x-api-name":"model_result"}},"security":[{"apiKeyAuth":[]}],"servers":[{"url":"https://api.wavespeed.ai"}]}}