Native generation formats
Use this reference when an integration requires a provider’s native request or response shape. Find the HTTP operations in the API reference and the parameters for a particular model in the catalogue.
BytePlus and ModelArk tasks
| Setting | Value |
|---|---|
| Base URL | https://api.sociaro.com/v1/byteplus or https://api.sociaro.com/v1/modelark |
| Authentication | Authorization: Bearer <your-api-key> |
| Create / list | POST /contents/generations/tasks or GET /contents/generations/tasks, relative to the chosen base |
| Poll / cancel | GET /contents/generations/tasks/{id} or DELETE /contents/generations/tasks/{id} on the original base |
Submit a supported model ID and its native content array. The gateway sets task priority, removes callback_url and pseudonymizes safety_identifier per organisation. Poll using the ID from the response. Cancel a queued task with DELETE. If the task is already cancelled, including on a retry, the gateway returns 200 with {"id": "<task-id>", "status": "cancelled"}. A running task or a task in another terminal state returns 409.
The list returns tasks for the calling key, newest first. Set page_num and page_size for pagination. Poll a task by ID for its status.
Prepared reference files
The ModelArk base accepts reference files in the supported media roles. Submit returns a queued task ID. File preparation and provider failures can then appear on poll. Read status and error.code before fetching outputs. The reference media guide covers permissions, parts and limits. Seedance 2.5 is a model-specific request example.
Image responses
BytePlus provides synchronous and asynchronous image routes. The model page lists the supported operation. Check data[] for native results and the returned media links for delivery. Features such as transparency and layer decomposition are model-specific. See the Seedream 5 Pro and Seedream 5.5 examples.
Kling elements and voices
Create reusable elements from images or a voice from a recording. Use the elements and voices endpoints to create, poll or list resources and presets.
| Resource | Create fields | Result |
|---|---|---|
| Element | element_name, element_description, reference_type: "image_refer", element_image_list. Supply a frontal image and one to three further reference images. |
An element_id in task_result after task_status reaches succeed. |
| Voice | voice_name and voice_url. Supply one clean voice in a publicly reachable recording of 5–30 seconds. |
A voice_id in task_result after succeed. |
Use the returned task_id to poll. Custom resources belong to the organisation, and the presets endpoint lists provider presets. To remove a custom element or voice, contact support. For an example using those resource IDs, see Kling 4.0 Omni.
Model-specific examples
| Task | Example |
|---|---|
| Image generation or editing | Wan 2.7 Image, Qwen Image 3 |
| Text or reference image to video | PixVerse V6, Pruna P-Video |
| Generate an image with a native image endpoint | Kling Image 4.0, Ideogram 4.6, Recraft V4.1 |
| Upscale an existing video | Pruna P-Video Upscale, options and pricing |
| Generate audio from video | Sonilo Video to Music, Sonilo Video to SFX |