Use TheFluxTrain from your own apps, scripts, and AI tools.
Create, name, and revoke TheFluxTrain API keys for the REST API and tft CLI. Authenticate requests with x-api-key and keep secrets out of client code.
Install the TheFluxTrain CLI, sign in from your terminal, and run API commands.
Send your API key on REST requests and from the CLI.
Text-to-image and image-to-image with Flux and other models.
Generate images with your trained LoRA models on TheFluxTrain. Pass LoRA IDs with a prompt to keep subject and style consistent across outputs.
Convert a photo into cartoon or character styles via TheFluxTrain cartoon API. Useful for avatars, social posts, and playful brand assets.
Place a product image onto a background scene with a text prompt.
Text-to-video, image-to-video, and reference-based video models.
Animate a still image using motion from a reference video.
Text-to-speech, voice conversion, isolation, dubbing, and sound effects.
Chat-style text generation with OpenAI-compatible messages.
Get a text description of an image with a vision model.
Check when a generation has finished and get the output URL.