Request
Make a POST request to below endpoint and pass the required parameters in the request body.
--request POST 'https://modelslab.com/api/v1/enterprise/qwen/text2img' \
Body
{
  "key":"enterprise_api_key",
  "prompt": " photorealistic style, Victoria Orlova, a 24-year-old woman with long wavy dark chestnut hair, plump scarlet lips, deep brown eyes, almond-shaped eyes, fair skin, a slender curvaceous figure, an elegant posture, wearing cherry-colored lace lingerie, a delicate gold chain on her collarbone, a silk slip, strappy high heels, a subtle smoky eye, lounging on a velvet chaise lounge, watching a movie, lazily tracing a finger along her lips, glancing from under her lashes with a smirking expression, soft ambient lighting, photorealistic style",
  "width": 1024,
  "height": 1024,
  "samples": 1,
  "track_id":null,
  "webhook":null
}
Body Attributes
Your API Key used for request authorization.
Text prompt describing the image you want to generate.
Items you don’t want in the image.
Number of images to return. Maximum: 2.
Width of the generated image. Maximum: 1024.
Height of the generated image. Maximum: 1024.
A URL to receive a POST API call once the video generation is complete.
A unique ID used in the webhook response to identify the request.