🚀 New model available: DeepSeek-V3.1 🚀
black-forest-labs/
FLUX.1 Kontext [dev] is a 12-billion-parameter image editing model that transforms visuals based on natural language instructions. It allows highly consistent, multi-step edits and is released with open weights under a non-commercial license to empower artists and researchers.
This document provides an overview of the DeepInfra-compatible OpenAI image edits API. It allows users to edit images using DeepInfra models.
curl -X POST \
-H "Authorization: Bearer $DEEPINFRA_TOKEN" \
-F image=@image.png \
-F n=1 \
-F size=1024x1024 \
-F model=black-forest-labs/FLUX.1-Kontext-dev \
https://api.deepinfra.com/v1/openai/images/edits
The API returns a JSON object containing the generated image(s).
{
"created": 1740418043,
"data": [
{
"revised_prompt": null,
"b64_json": "/9j/4AAQS..."
}
]
}
© 2025 Deep Infra. All rights reserved.