Skip to content

Create Task

POST
/tencent-vod/v1/aigc-image
  • Create Tencent AIGC image task.
  • Official documentation: https://cloud.tencent.com/document/product/266/126240

Authorizations

bearer
Type
HTTP (bearer)

Request Body

application/json
object

Prompt

Prompt to prevent the model from generating certain content in the image.

Whether to automatically optimize the prompt. When enabled, the passed prompt will be automatically optimized to improve generation quality. Values are:
Enabled: Enable;
Disabled: Disable;

object

Output media file configuration for the image generation task.

Identification code for deduplication. If the same identification code was used within three days, this request will return an error. Maximum 50 characters. If not provided or an empty string is passed, no deduplication is performed.
Example value: mysession

Source context for passing user request information. The callback will return this field value. Maximum 1000 characters.
Example value: mySessionContext

Task priority. Higher value means higher priority. Range is -10 to 10. Default is 0.
Example value: 10

Reserved field for special purposes.
Example value: myextinfo

object[]

Model name. Values:
GEM: Gemini;
Qwen: Qwen.
Hunyuan: Hunyuan.

Example value: GEM

Model version. Values:
When ModelName is GEM, available values are 2.5, 3.0;
When ModelName is Qwen, available value is 0925;
When ModelName is Hunyuan, available value is 3.0;

Example value: 2.5

Responses

Successfully returns task creation result

application/json

Playground

Authorization
Body

Samples