flux-pro
Model Overview
This is first version of Flux Pro, but it generates images of unmatched quality, outperforming popular models like Midjourney v6.0, DALL·E 3 (HD), and SD3-Ultra.
You can also view a detailed comparison of this model on our main website.
Model
Properties of Generated Images
flux-pro
Format: JPEG/PNG Min size: 256x256 Max size: 1440x1440 Default size: 1024x768 For both height and width, the value must be a multiple of 32.
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 of the specified size using a simple prompt.
The maximum value for both width and height is 1440
, and the minimum is 256
.
The value must be a multiple of 32.
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": "Rabbit singing",
"model": "flux-pro",
'image_size': {
"width": 1024,
"height": 320
}
}
)
response.raise_for_status()
data = response.json()
print("Generation:", data)
if __name__ == "__main__":
main()
We obtained the following nice 1024x320 image by running this code example:

Last updated