Skip to content

Why did my video API integration request a landscape export when the client picked portrait?

Inspect the actual request after your SDK or adapter serializes it. For H3 the API defaults to a landscape size when the size field is omitted.

SHIP A RELIABLE INTEGRATIONAISwapLab team · Editorial methodPublished 2 min read
Open API documentationExplore 67 Image SkillsPrivate keys · Explicit credit approval

Compare UI state and payload

Reproduce with an approved test choice. Log only the output size and model, and inspect the call generated by the submit path. A CSS preview shape does not determine the request.

Use documented dimensions

Map the UI's portrait choice to a supported size shown for that model. Validate the resulting request before using the API quote. Show the actual requested size to the approver.

Review the returned file

Measure its displayed width and height after applying orientation metadata. Keep a separate error for differences between requested size and delivered file.

Pass condition

The portrait choice survives the UI, quote and generation request, and the result is checked against that exact selection.

Sources

One task. A recoverable workflow.

Check the contract, approve the quote and retain the job.

Open API documentation