Skip to content

flux-realistic (Coming Soon)

⚠️ This model is coming soon! This documentation is for preview purposes only. The API will be available in the near future.

flux-realistic turns text into photorealistic images, ideal for creating lifelike visuals on the fly.

Key Features

  • Resolution: Up to 1024x1024 pixels
  • Generation Time: ~10 seconds
  • Quality: Photorealistic output with fine details
  • Prompt Control: Intuitive text-to-image generation

Endpoint

Our API follows the OpenAI-compatible format:

POST /v1/images/generations

Model Name

Use the following model identifier in your requests:

flux-realistic

Parameters

  • model (string): The model identifier (“flux-realistic”).
  • prompt (string): Detailed description of the desired image.
  • n (integer, optional): Number of images to generate (default: 1).
  • size (string, optional): Image size - “256x256”, “512x512”, or “1024x1024” (default: “1024x1024”).
  • negative_prompt (string, optional): Description of elements to avoid in the image.
  • response_format (string, optional): Response format - “url” or “b64_json” (default: “url”).

Example Request

Terminal window
curl -X POST https://api.deeprequest.io/v1/images/generations \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "flux-realistic",
"prompt": "A quiet beach at sunrise with gentle waves.",
"n": 1,
"size": "1024x1024"
}'

Example Response

{
"created": 1683642180,
"data": [
{
"url": "https://deeprequest.io/storage/images/beach-sunrise-12345.png"
}
]
}

Pricing details at Pricing.