Unified Parameters: One Spec for Every Model Family
Unified API parameters for seamless model switching: common request fields, defaults, and validation rules across model families.
APIXO standardizes parameters across all models within each category. Switch from Flux 2 to Midjourney with minimal code changes — learn once, use everywhere.
Request Structure
All generation models follow the same request structure:
Output format: png (lossless, larger) or jpeg (compressed, smaller).
Video Generation Parameters
All video models (Sora 2, Kling, Veo, etc.) share these input parameters:
object
required
Show properties
string
default:"text-to-video"
required
Generation mode: text-to-video or image-to-video.
string
required
Text description of the desired video content.
string
Elements to avoid in the generated video (e.g., "shaky, low quality").
string[]
Reference image URLs for image-to-video mode.
string
default:"16:9"
Output aspect ratio: 1:1, 16:9, or 9:16.
string
default:"1080p"
Output resolution: 480p, 720p, or 1080p.
integer
Video length in seconds.
boolean
default:"false"
Whether to generate audio alongside the video.
Audio Generation Parameters
Audio models (Suno) use these input parameters:
object
required
Show properties
string
required
Suno mode for new integrations: V6, V6_MINI, or V6_WILD. Retired V3.5, V3_5, V4.5 All, and V4_5ALL map to V6_MINI; other retired V3, V4, and V5 modes map to V6.
string
required
Lyrics or a description of the desired music.
boolean
default:"false"
Enable custom mode for full control over style and lyrics.
boolean
default:"false"
Generate instrumental only (no vocals).
Aspect Ratio Reference
Value
Description
Best For
1:1
Square
Social media, avatars
16:9
Widescreen
Video, desktop wallpapers
9:16
Vertical
Mobile, short videos
4:3
Classic
Traditional photos
3:4
Portrait
Classic portraits
21:9
Ultra-wide
Cinematic, banners
Quick Reference
Image
Video
Audio
{ "request_type": "async", "input": { "mode": "text-to-image", "prompt": "a serene mountain landscape at sunset", "aspect_ratio": "16:9", "resolution": "2K" }}