mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-19 19:36:04 +00:00
codegen: resync cloud client from EF 2d511d26
This commit is contained in:
@@ -174,6 +174,12 @@ export interface CreateHyperframesRenderRequest {
|
||||
* Output container/codec.
|
||||
*/
|
||||
format?: "mp4" | "webm" | "mov";
|
||||
/**
|
||||
* Overrides the quality preset's constant rate factor (lower is higher quality
|
||||
* and a larger file). Integer 0-51 for mp4, 0-63 for webm; ignored for mov.
|
||||
* Omit to use the preset's CRF.
|
||||
*/
|
||||
crf?: number | null;
|
||||
/**
|
||||
* Output resolution tier. Defaults to '1080p'. Pass '4k' for 4K renders
|
||||
* (billed at 1.5x).
|
||||
@@ -305,6 +311,13 @@ export interface HyperframesRenderDetail {
|
||||
* Error description. Present only when status is 'failed'.
|
||||
*/
|
||||
failure_message?: string | null;
|
||||
/**
|
||||
* Why billing refused a finished render: 'hf_usage_exhausted',
|
||||
* 'hf_subscription_required' or 'api_key_required'. Present only when status
|
||||
* is 'failed' for that reason; nothing was charged, so the render can be sent
|
||||
* again on a HeyGen API key.
|
||||
*/
|
||||
failure_code?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -339,6 +352,11 @@ export interface StandardAPIError {
|
||||
* errors by node).
|
||||
*/
|
||||
errors?: Array<StandardAPIErrorDetail>;
|
||||
/**
|
||||
* Request identifier, also returned in the X-HeyGen-Request-Id response
|
||||
* header. Include it when contacting support.
|
||||
*/
|
||||
request_id?: string;
|
||||
}
|
||||
|
||||
export interface StandardAPIErrorDetail {
|
||||
|
||||
Reference in New Issue
Block a user