Apidot Flux 2 Api
Use APIDot for FLUX.2 API workflows, including Flux 2 API, image generation API, image editing API, multi-reference editing, text-to-image, reference image g...
Documentation & Preview
APIDot FLUX.2 Reference
This reference gives agents a safer, non-executable summary for APIDot FLUX.2 integration work. Use it to choose the right documentation path and request mode before opening the live APIDot docs or general examples.
It contains no shell commands, no runnable request examples, no bundled clients, and no stored credentials.
Source Of Truth
- Model page: https://apidot.ai/models/flux-2
- API docs: https://apidot.ai/docs/flux-2
- Quickstart: https://apidot.ai/docs/quickstart
- Webhooks: https://apidot.ai/docs/webhooks
- Main examples: https://github.com/APIDotAI/apidot-examples
Use the live APIDot docs for current model availability, supported fields, limits, and commercial terms.
Model Family
FLUX.2 on APIDot is for image generation and editing workflows that need prompt-guided images, source-image references, multi-reference composition, product visuals, campaign concepts, or design exploration when supported by the selected request mode.
Do not assume every image request mode is supported by every FLUX.2 model entry. Check the APIDot FLUX.2 docs before preparing a payload.
Request Planning
Before choosing a request shape, identify:
- Whether the user wants prompt-only generation, image editing, image-to-image, multi-reference generation, product visuals, or design concept imagery.
- Whether source image URLs or multiple references are involved, and whether the selected FLUX.2 mode supports them.
- Desired aspect ratio, quality, and resolution, if the current APIDot docs expose those controls.
- Whether the workflow should use polling for local testing or webhook delivery for production.
- Where the backend will persist
task_id, selected model, user ID, source media references, request status, and final image URLs.
For copyable request shapes, open the APIDot docs or general APIDot examples instead of recreating examples inside this skill.
Async Flow
APIDot FLUX.2 jobs follow the shared APIDot async generation flow:
- Choose the model entry and request mode from the live APIDot docs.
- Submit the job through the documented APIDot generation submit flow.
- Store
data.task_idbefore any retry, page transition, or status check. - Use task status polling for local tests and debugging.
- Use
callback_urlwebhook delivery for production jobs that may outlive the current browser session. - Treat webhook handlers as idempotent because duplicate delivery should not create duplicate visible results.
Implementation Notes
- Keep
APIDOT_API_KEYserver-side only. - Validate all source image URLs before submitting jobs that depend on references.
- Keep request status, selected model, prompt metadata, media references, and final image URLs together.
- Retry transient network failures with backoff. Do not retry invalid payloads unchanged.
- Avoid logging private prompts, private image URLs, callback URLs, API keys, or generated image URLs.
- Do not copy fields from another image model family unless the APIDot docs show the same field for FLUX.2.