api_video_aspect_fit
Read-onlyIdempotent
Compute aspect-ratio-safe crop and letterbox geometry for video deliveries at target resolution. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | mode; see operation description for units and format | |
| source_width | Yes | source width; see operation description for units and format | |
| target_width | Yes | target width; see operation description for units and format | |
| source_height | Yes | source height; see operation description for units and format | |
| target_height | Yes | target height; see operation description for units and format |