flux-pro/v1.1-ultra

This documentation is valid for the following list of our models:

  • flux-pro/v1.1-ultra

Model Overview

An advanced AI image generator designed to create high-resolution images rapidly and efficiently. It is optimized for various applications, including content creation, e-commerce, and advertising, providing users with the ability to generate visually appealing images at unprecedented speeds.

Model
Generated image properties

flux-pro/v1.1-ultra

Format: JPEG/PNG Fixed size: 2752x1536

Setup your API Key

If you don’t have an API key for the Apilaplas API yet, feel free to use our Quickstart guide.

Submit a request

API Schema

Quick Example

Let's generate an image using a simple prompt.

import requests


def main():
    response = requests.post(
        "https://api.apilaplas.com/v1/images/generations",
        headers={
            # Insert your LAPLAS API Key instead of <YOUR_LAPLASAPI_KEY>:
            "Authorization": "Bearer <YOUR_LAPLASAPI_KEY>",
            "Content-Type": "application/json",
        },
        json={
            "prompt": "A T-Rex relaxing on a beach, lying on a sun lounger and wearing sunglasses.",
            "model": "flux-pro/v1.1-ultra",
        }
    )

    response.raise_for_status()
    data = response.json()

    print("Generation:", data)


if __name__ == "__main__":
    main()
Response
Generation: {'images': [{'url': 'https://cdn.apilaplas.com/squirrel/files/panda/Xw0w4dVpJk88_d8CBZQas_c2d37af49746421fa848a95df405288a.jpg', 'width': 2752, 'height': 1536, 'content_type': 'image/jpeg'}], 'timings': {}, 'seed': 2704861852, 'has_nsfw_concepts': [False], 'prompt': 'A T-Rex relaxing on a beach, lying on a sun lounger and wearing sunglasses.'}

We obtained the following 2752x1536 image by running this code example:

Last updated