### POST /v1/omni-video/tasks Source: https://docs.qingque.cn/d/home/eZQCRUy_LWt70n5Wz2sTiLV6J_identityId=1oEFzU43FYK_section=h.hhdxwtuxzvyf Creates a video generation task using the Omni-Video model. This endpoint allows users to generate videos based on various parameters and inputs. ```APIDOC ## POST /v1/omni-video/tasks ### Description Creates a video generation task using the Omni-Video model. Users can specify various parameters to control the video output. ### Method POST ### Endpoint /v1/omni-video/tasks ### Parameters #### Request Headers - **Content-Type** (string) - Required - application/json - **Authorization** (string) - Required - Authentication token #### Request Body *(The request body schema is not detailed in the provided text, but it is expected to contain parameters for video generation, such as prompts, aspect ratio, reference videos, etc. Note: 'auto' aspect_ratio is not supported as of 2025.12.01. Video duration is customizable only when using reference video features.)* ### Response #### Success Response (200) *(The success response schema is not detailed in the provided text, but it is expected to return the task ID and status.)* #### Response Example ```json { "taskId": "video_task_12345", "status": "processing" } ``` ``` -------------------------------- ### POST /v1/omni-image/tasks Source: https://docs.qingque.cn/d/home/eZQCRUy_LWt70n5Wz2sTiLV6J_identityId=1oEFzU43FYK_section=h.hhdxwtuxzvyf Creates an image generation task using the Omni-Image model. This endpoint supports text-to-image and image-to-image generation with various aspect ratios. ```APIDOC ## POST /v1/omni-image/tasks ### Description Creates an image generation task using the Omni-Image model. Supports text-to-image and image-to-image generation with various aspect ratios. Note: 4K resolution parameter is not supported upon final release. ### Method POST ### Endpoint /v1/omni-image/tasks ### Parameters #### Request Headers - **Content-Type** (string) - Required - application/json - **Authorization** (string) - Required - Authentication token #### Request Body *(The request body schema is not detailed in the provided text, but it is expected to contain parameters for image generation, such as prompts, aspect ratio, reference images, etc. Supported aspect ratios include 1:1, 16:9, 4:3, 3:2, 2:3, 3:4, 9:16, 21:9. 'auto' aspect ratio is not supported for text-to-image as of 2025.12.01.)* ### Response #### Success Response (200) *(The success response schema is not detailed in the provided text, but it is expected to return the task ID and status.)* #### Response Example ```json { "taskId": "image_task_67890", "status": "processing" } ``` ``` -------------------------------- ### POST /v1/general/custom-elements Source: https://docs.qingque.cn/d/home/eZQCRUy_LWt70n5Wz2sTiLV6J_identityId=1oEFzU43FYK_section=h.hhdxwtuxzvyf Creates a custom element, which can be used as a subject or reference in image and video generation tasks. This is a foundational step for many creative operations within the Omni model. ```APIDOC ## POST /v1/general/custom-elements ### Description Creates a custom element to be used as a subject or reference in image and video generation tasks. ### Method POST ### Endpoint /v1/general/custom-elements ### Parameters #### Request Headers - **Content-Type** (string) - Required - application/json - **Authorization** (string) - Required - Authentication token ### Request Body *(The request body schema is not detailed in the provided text, but it is expected to contain the necessary information to define a custom element.)* ### Response #### Success Response (200) *(The success response schema is not detailed in the provided text, but it is expected to confirm the creation of the custom element.)* #### Response Example ```json { "message": "Custom element created successfully" } ``` ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.