Native Params Passthrough
Token360 supports two ways to call multimodal APIs:
- Normalized (default) — OpenAI-style fields (
prompt,reference_images,seconds, …). The router maps them to each vendor’s API. - Native params passthrough — You send the target model’s native JSON body. Enable it with the header below.
This document describes the second mode: the required header, supported endpoints, and common request issues.
Request header
Token360-Native-Params | true, 1, yes, on (case-insensitive) |
When enabled, the HTTP body must be a JSON object (Content-Type: application/json). Invalid JSON (e.g. trailing commas), empty body, or a non-object root (array/string) will be rejected.
What Token360 still handles
Even in native mode, Token360 still:
- Authenticates your request with your Token360 API key.
- Uses the
modelvalue to select the requested model. - Validates
asset://...references against assets available to your account. - Returns Token360-shaped task IDs and billing metadata where applicable.
Use Token360 asset IDs in asset://{assetId} references. Billing and polling remain on Token360 endpoints.
Endpoints that support this header
POST /v1/videos | Video generation | JSON only; no multipart/form-data in native mode. |
POST /v1/images/generations | Image generation | Body must be a non-empty JSON object ({} is rejected). |
POST /v1/audio/speech | Text-to-speech | Skips the subset of OpenAI-style validation (input / voice required in default mode); body is passed through after model / asset:// handling. |
Unsupported models return a clear not-supported error for native mode.
Common errors
JSON object body is required when Token360-Native-Params is enabled | Empty body, wrong Content-Type, invalid JSON (trailing comma), or JSON root not an object. |
InvalidParameter on duration | String "4" instead of number 4, or duration not in the model’s allowed set. |
| Asset validation failed | asset:// id does not match an available Token360 asset, or typo in the id string. |
Related references
- Default OpenAI-style video doc in this portal: API Reference → Video Generation → Submit video generation request.
Was this page helpful?
Previous
Webhook
Next
Authentication