POST /flux/generate
Generate images using Flux.1 model based on text prompts. Note: Unlike Midjourney, this endpoint can only generate one image at a time
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
{
"character_prompts": [
{
"uc": "blurred, extra accessories"
}
],
"vibe_transfer": [
{
"image": "https://example.com/ref1.jpg"
}
],
"character_reference": [
{
"image": "https://example.com/ref2.jpg"
}
]
}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.