ApiframeApiframe Docs
Image GenerationFlux

Flux 1.1 Pro Ultra

High-resolution image generation (up to 4MP) with optional raw mode for natural aesthetics.

Use in Apiframe Studio

POST /v2/images/generatemodel: "flux-1.1-pro-ultra"

Extends FLUX1.1 [pro] with support for 4x higher image resolutions (up to 4 megapixels) and a raw mode for more natural, less synthetic-looking images.

See Image Generation overview for common request fields, response format, and error codes.

Model-specific parameters

ParameterTypeDescription
fluxParams.aspect_ratiostringAspect ratio in "W:H" format (e.g. "3:2", "1:1")
fluxParams.output_formatstringOutput format: "jpg", "png", or "webp"
fluxParams.seedintegerRandom seed for reproducible generation
fluxParams.rawbooleanEnable raw mode for more natural, candid-photography aesthetics
fluxParams.image_promptstringImage URL for Flux Redux (guides composition)
fluxParams.image_prompt_strengthnumberBlend between the text prompt and the image prompt (0–1)

Code examples

curl -X POST https://api.apiframe.ai/v2/images/generate \
  -H "X-API-Key: afk_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "an old couple holding hands, walking along the beach",
    "model": "flux-1.1-pro-ultra",
    "fluxParams": {
      "aspect_ratio": "3:2",
      "raw": true,
      "output_format": "jpg"
    }
  }'
import requests

response = requests.post(
    "https://api.apiframe.ai/v2/images/generate",
    headers={
        "X-API-Key": "afk_your_api_key_here",
        "Content-Type": "application/json",
    },
    json={
        "prompt": "an old couple holding hands, walking along the beach",
        "model": "flux-1.1-pro-ultra",
        "fluxParams": {
            "aspect_ratio": "3:2",
            "raw": True,
            "output_format": "jpg",
        },
    },
)
print(response.json())
const response = await fetch("https://api.apiframe.ai/v2/images/generate", {
  method: "POST",
  headers: {
    "X-API-Key": "afk_your_api_key_here",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    prompt: "an old couple holding hands, walking along the beach",
    model: "flux-1.1-pro-ultra",
    fluxParams: { aspect_ratio: "3:2", raw: true, output_format: "jpg" },
  }),
});
console.log(await response.json());

Try it

POST/v2/images/generateTry it

On this page