POST /bfl/v1/flux-dev
Generate or edit images using the Flux Dev model based on text prompts. <a href='https://docs.bfl.ai/api/tasks/generate-an-image-with-flux1-[pro]' target='_blank'>Official documentation</a>
Request
- Base URLhttps://api.ttapi.io
- AuthAPI key in header TT-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"output_format": "jpeg"
}Response
Request successful
Example response
{
"status": "SUCCESS",
"message": "success",
"data": {
"jobId": "jobId"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.