🚀 New models by Bria.ai, generate and edit images at scale 🚀
ByteDance/
Seedream 4.0 is a SOTA multimodal image creation model built on leading architecture. It breaks through the boundaries of traditional text-to-image models by natively supporting text, single-image, and multi-image inputs. Users can freely combine text and images to achieve diverse creative modes within a single model—such as multi-image blending, image editing, and sequentially batch image generation, featuring subject consistency, making image creation more free and controllable.
This document provides an overview of the DeepInfra-compatible OpenAI image generation API. It allows users to generate AI-created images based on text prompts using DeepInfra models.
curl https://api.deepinfra.com/v1/openai/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $DEEPINFRA_TOKEN" \
-d '{
"prompt": "A photo of an astronaut riding a horse on Mars.",
"size": "1024x1024",
"model": "ByteDance/Seedream-4",
"n": 1
}'
The API returns a JSON object containing the generated image(s).
{
"created": 1707000000,
"data": [
{
"revised_prompt": "A photo of an astronaut riding a horse on Mars.",
"b64_json": "/9j/4AAQS..."
}
]
}
© 2025 Deep Infra. All rights reserved.