AI Image - Text to Image
AI Image
AI Image - Text to Image
POST
AI Image - Text to Image
Introduction
Submit text-to-image task, used to generate new images based on text description.Authentication
Bearer Token, e.g.,
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...
How to get: Obtain via the POST interface in the Authentication module at the top left, https://docs.leapx-hub.com/en/leapx-lab-v4/endpoint/get-tokenRequest Parameters
Image description prompt
Image size, e.g., 512x512, 1024x1024
Example Code
- cURL Example
- Python Example
