Generates an image from a text prompt using AI. The generated image is uploaded to the PickFu CDN and a permanent URL is returned.
Currently supports image generation only. Video generation is planned for a future release.
OAuth2 access token obtained via the authorization flow. Include in the Authorization header as: Bearer {access_token}
Text prompt describing the image to generate
1 - 10000Media type to generate. Currently only "image" is supported.
image Aspect ratio of the generated image (default: 1:1)
1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9