CN8 is an AI gateway: a single proxy layer that gives you access to AI capabilities — chatbots with RAG, multi-agent orchestration, LLM completions, dubbing, TTS, media generation, and production-grade video/audio processing — all through one consistent API with unified auth, billing, and usage tracking.
Content-aware aspect ratio conversion with subject tracking, optional trim, and smooth camera pan.
The service trims the source if start/end are provided, then runs content-aware subject detection to determine optimal crop positions at the target aspect ratio. If smartcamerapan is enabled, crop positions are smoothed for natural motion. Output is encoded as a video at the new aspect ratio with original audio.
/v1/proxy/studio-smart-reframeSmart reframing (async)
| Name | Type | Required | Description |
|---|---|---|---|
videoUrl | string | required | Source video URL |
aspect_ratio | string | required | Target aspect ratio (e.g. 9:16, 1:1, 4:5) |
start | string | optional | Trim start (seconds or hh:mm:ss) |
end | string | optional | Trim end (seconds or hh:mm:ss) |
smart_camera_pan | boolean | optional | Enable smooth camera panning |
{
"status": "accepted",
"job_id": "job_reframe_abc",
"service": "studio-smart-reframe"
}
Poll the job endpoint until completed; then download the output video. Billed per second of processed video.