@deepraxis/sdk 0.1.1-dev.924987f → 0.1.1-dev.95b8c6e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/METHODS.md +21 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +73 -18
- package/dist/generated/sdk.gen.js +120 -17
- package/dist/generated/types.gen.d.ts +841 -16
- package/dist/operations.generated.d.ts +197 -4
- package/dist/operations.generated.js +251 -4
- package/dist/resources.generated.d.ts +15 -0
- package/dist/resources.generated.js +15 -0
- package/package.json +1 -1
|
@@ -13022,6 +13022,27 @@ export type CutExport = {
|
|
|
13022
13022
|
*/
|
|
13023
13023
|
audio: 'pending' | 'done';
|
|
13024
13024
|
};
|
|
13025
|
+
/**
|
|
13026
|
+
* Present when normalization was requested; contains requested targets and measured output levels.
|
|
13027
|
+
*/
|
|
13028
|
+
loudness?: {
|
|
13029
|
+
/**
|
|
13030
|
+
* Requested integrated loudness target in LUFS.
|
|
13031
|
+
*/
|
|
13032
|
+
target_lufs: number;
|
|
13033
|
+
/**
|
|
13034
|
+
* Requested maximum true peak in dBTP.
|
|
13035
|
+
*/
|
|
13036
|
+
true_peak_dbtp: number;
|
|
13037
|
+
/**
|
|
13038
|
+
* Measured integrated loudness of the rendered export in LUFS.
|
|
13039
|
+
*/
|
|
13040
|
+
integrated_lufs: number;
|
|
13041
|
+
/**
|
|
13042
|
+
* Measured maximum true peak of the rendered export in dBTP.
|
|
13043
|
+
*/
|
|
13044
|
+
measured_true_peak_dbtp: number;
|
|
13045
|
+
};
|
|
13025
13046
|
/**
|
|
13026
13047
|
* Output media reference, available after the export reaches done.
|
|
13027
13048
|
*/
|
|
@@ -13094,6 +13115,19 @@ export type CutExportInput = {
|
|
|
13094
13115
|
*/
|
|
13095
13116
|
binding?: string;
|
|
13096
13117
|
revision?: CutRevision;
|
|
13118
|
+
/**
|
|
13119
|
+
* Optional loudness normalization target; normalization adds analysis and rendering work.
|
|
13120
|
+
*/
|
|
13121
|
+
loudness?: {
|
|
13122
|
+
/**
|
|
13123
|
+
* Integrated loudness target in LUFS.
|
|
13124
|
+
*/
|
|
13125
|
+
target_lufs: number;
|
|
13126
|
+
/**
|
|
13127
|
+
* Maximum true peak in dBTP.
|
|
13128
|
+
*/
|
|
13129
|
+
true_peak_dbtp: number;
|
|
13130
|
+
};
|
|
13097
13131
|
};
|
|
13098
13132
|
/**
|
|
13099
13133
|
* One page of organization-accessible exports.
|
|
@@ -14146,7 +14180,7 @@ export type MediaLibrary = {
|
|
|
14146
14180
|
};
|
|
14147
14181
|
export type MediaMediaError = {
|
|
14148
14182
|
error: {
|
|
14149
|
-
code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'BINDING_READ_ONLY';
|
|
14183
|
+
code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'CANDIDATE_EXPIRED' | 'BINDING_READ_ONLY';
|
|
14150
14184
|
message: string;
|
|
14151
14185
|
details: string | null;
|
|
14152
14186
|
};
|
|
@@ -14454,6 +14488,27 @@ export type MediaAsset = {
|
|
|
14454
14488
|
};
|
|
14455
14489
|
};
|
|
14456
14490
|
};
|
|
14491
|
+
/**
|
|
14492
|
+
* Source details for the video-generation job that created this asset.
|
|
14493
|
+
*/
|
|
14494
|
+
generation?: {
|
|
14495
|
+
/**
|
|
14496
|
+
* Job id that generated this asset.
|
|
14497
|
+
*/
|
|
14498
|
+
job_id: MediaJobId;
|
|
14499
|
+
/**
|
|
14500
|
+
* Generation intent used to create the asset; v1 supports video.generate.
|
|
14501
|
+
*/
|
|
14502
|
+
intent: string;
|
|
14503
|
+
/**
|
|
14504
|
+
* Text prompt submitted for the generation job.
|
|
14505
|
+
*/
|
|
14506
|
+
prompt: string;
|
|
14507
|
+
/**
|
|
14508
|
+
* Router video-generation model that produced the asset.
|
|
14509
|
+
*/
|
|
14510
|
+
model: string;
|
|
14511
|
+
};
|
|
14457
14512
|
};
|
|
14458
14513
|
/**
|
|
14459
14514
|
* Receipt confirming that the asset was deleted.
|
|
@@ -14596,11 +14651,11 @@ export type MediaJob = {
|
|
|
14596
14651
|
/**
|
|
14597
14652
|
* Batch operation: tag adds labels, untag removes labels, set_context replaces custom metadata, move changes asset_folder, and delete removes selected assets. reprocess starts fenced understanding Workflows for retryable failed steps and legacy source-size unsupported steps; kinds narrows the selection. Other unsupported and permanent steps remain unchanged.
|
|
14598
14653
|
*/
|
|
14599
|
-
action: 'tag' | 'untag' | 'set_context' | 'move' | 'delete' | 'reprocess';
|
|
14654
|
+
action: 'tag' | 'untag' | 'set_context' | 'move' | 'delete' | 'reprocess' | 'generate';
|
|
14600
14655
|
/**
|
|
14601
14656
|
* Job status: queued awaits execution; running is processing items; completed means all items succeeded; completed_with_errors means some succeeded and some failed; failed means all selected items failed. An empty job completes successfully.
|
|
14602
14657
|
*/
|
|
14603
|
-
status:
|
|
14658
|
+
status: MediaJobStatus;
|
|
14604
14659
|
/**
|
|
14605
14660
|
* Number of distinct assets selected when the job was created.
|
|
14606
14661
|
*/
|
|
@@ -14620,12 +14675,66 @@ export type MediaJob = {
|
|
|
14620
14675
|
/**
|
|
14621
14676
|
* Identifier supplied for the failed item; it may identify a missing asset.
|
|
14622
14677
|
*/
|
|
14623
|
-
asset_id
|
|
14678
|
+
asset_id?: MediaAssetId;
|
|
14679
|
+
/**
|
|
14680
|
+
* Zero-based output index for a failed video-generation item.
|
|
14681
|
+
*/
|
|
14682
|
+
index?: number;
|
|
14624
14683
|
/**
|
|
14625
14684
|
* Domain error code explaining the individual item failure.
|
|
14626
14685
|
*/
|
|
14627
14686
|
code: MediaMediaErrorCode;
|
|
14628
14687
|
}>;
|
|
14688
|
+
/**
|
|
14689
|
+
* Generation intent used by this job; v1 supports video.generate.
|
|
14690
|
+
*/
|
|
14691
|
+
intent?: string;
|
|
14692
|
+
/**
|
|
14693
|
+
* Router video-generation model used for the outputs.
|
|
14694
|
+
*/
|
|
14695
|
+
model?: string;
|
|
14696
|
+
/**
|
|
14697
|
+
* Per-video results in index order; save a successful candidate before expires_at.
|
|
14698
|
+
*/
|
|
14699
|
+
outputs?: Array<{
|
|
14700
|
+
/**
|
|
14701
|
+
* Zero-based position of this video in the requested count.
|
|
14702
|
+
*/
|
|
14703
|
+
index: number;
|
|
14704
|
+
/**
|
|
14705
|
+
* State of this requested video output.
|
|
14706
|
+
*/
|
|
14707
|
+
status: MediaGenerationOutputStatus;
|
|
14708
|
+
/**
|
|
14709
|
+
* Short-lived signed URL for previewing this candidate; read the Job again to obtain a fresh URL.
|
|
14710
|
+
*/
|
|
14711
|
+
preview_url?: string;
|
|
14712
|
+
/**
|
|
14713
|
+
* Router seed for this video, when returned; it may be absent.
|
|
14714
|
+
*/
|
|
14715
|
+
seed?: number | null;
|
|
14716
|
+
/**
|
|
14717
|
+
* Candidate expiry time; after expiry, save returns CANDIDATE_EXPIRED.
|
|
14718
|
+
*/
|
|
14719
|
+
expires_at?: MediaIsoTimestamp;
|
|
14720
|
+
/**
|
|
14721
|
+
* Library asset identifier after this candidate has been saved, or when the job requested save=library.
|
|
14722
|
+
*/
|
|
14723
|
+
asset_id?: MediaAssetId;
|
|
14724
|
+
}>;
|
|
14725
|
+
/**
|
|
14726
|
+
* Router-reported generation charge for the job.
|
|
14727
|
+
*/
|
|
14728
|
+
usage?: {
|
|
14729
|
+
/**
|
|
14730
|
+
* Decimal amount in the currency named by currency; this is not a floating-point value.
|
|
14731
|
+
*/
|
|
14732
|
+
amount: string;
|
|
14733
|
+
/**
|
|
14734
|
+
* Currency code for amount.
|
|
14735
|
+
*/
|
|
14736
|
+
currency: string;
|
|
14737
|
+
};
|
|
14629
14738
|
/**
|
|
14630
14739
|
* Time the batch job was created, in UTC.
|
|
14631
14740
|
*/
|
|
@@ -14740,6 +14849,77 @@ export type MediaFailureSummary = {
|
|
|
14740
14849
|
*/
|
|
14741
14850
|
counts_complete: boolean;
|
|
14742
14851
|
};
|
|
14852
|
+
/**
|
|
14853
|
+
* Current state of a batch or video-generation job.
|
|
14854
|
+
*/
|
|
14855
|
+
export type MediaJobStatus = 'queued' | 'running' | 'completed' | 'completed_with_errors' | 'failed' | 'cancelled';
|
|
14856
|
+
/**
|
|
14857
|
+
* Identifier returned when a batch job is created.
|
|
14858
|
+
*/
|
|
14859
|
+
export type MediaJobId = string;
|
|
14860
|
+
/**
|
|
14861
|
+
* A page of jobs in a library.
|
|
14862
|
+
*/
|
|
14863
|
+
export type MediaJobPage = {
|
|
14864
|
+
/**
|
|
14865
|
+
* Jobs returned in this page.
|
|
14866
|
+
*/
|
|
14867
|
+
data: Array<MediaJob>;
|
|
14868
|
+
/**
|
|
14869
|
+
* Cursor for the next page, or null when there are no more jobs.
|
|
14870
|
+
*/
|
|
14871
|
+
next_cursor: MediaJobId | null;
|
|
14872
|
+
};
|
|
14873
|
+
/**
|
|
14874
|
+
* Current text-to-video options, concurrency and candidate retention. Generation is charged per second; unsaved candidates expire after 7 days.
|
|
14875
|
+
*/
|
|
14876
|
+
export type MediaGenerationCapabilities = {
|
|
14877
|
+
/**
|
|
14878
|
+
* Text-to-video intents currently supported by Media.
|
|
14879
|
+
*/
|
|
14880
|
+
intents: Array<string>;
|
|
14881
|
+
/**
|
|
14882
|
+
* Model selected when model is omitted from a generation request.
|
|
14883
|
+
*/
|
|
14884
|
+
default_model: string;
|
|
14885
|
+
/**
|
|
14886
|
+
* Allowed number of videos per generation job.
|
|
14887
|
+
*/
|
|
14888
|
+
count: {
|
|
14889
|
+
/**
|
|
14890
|
+
* Minimum number of videos in one generation job.
|
|
14891
|
+
*/
|
|
14892
|
+
minimum: number;
|
|
14893
|
+
/**
|
|
14894
|
+
* Maximum number of videos in one generation job.
|
|
14895
|
+
*/
|
|
14896
|
+
maximum: number;
|
|
14897
|
+
};
|
|
14898
|
+
/**
|
|
14899
|
+
* Durations in seconds supported by the default video model.
|
|
14900
|
+
*/
|
|
14901
|
+
duration_seconds: Array<number>;
|
|
14902
|
+
/**
|
|
14903
|
+
* Aspect ratios supported by the default video model.
|
|
14904
|
+
*/
|
|
14905
|
+
aspect_ratios: Array<string>;
|
|
14906
|
+
/**
|
|
14907
|
+
* Aspect ratio used when aspect_ratio is omitted.
|
|
14908
|
+
*/
|
|
14909
|
+
default_aspect_ratio: string;
|
|
14910
|
+
/**
|
|
14911
|
+
* Maximum number of queued or running generation jobs per library.
|
|
14912
|
+
*/
|
|
14913
|
+
concurrency_per_library: number;
|
|
14914
|
+
/**
|
|
14915
|
+
* Unit used to charge video generation; generated duration is billed per second by Router.
|
|
14916
|
+
*/
|
|
14917
|
+
price_unit: 'per second';
|
|
14918
|
+
/**
|
|
14919
|
+
* Days an unsaved candidate is retained before its File is deleted.
|
|
14920
|
+
*/
|
|
14921
|
+
candidate_retention_days: number;
|
|
14922
|
+
};
|
|
14743
14923
|
/**
|
|
14744
14924
|
* Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.
|
|
14745
14925
|
*/
|
|
@@ -26248,6 +26428,27 @@ export type MediaSearchAsset = {
|
|
|
26248
26428
|
};
|
|
26249
26429
|
};
|
|
26250
26430
|
};
|
|
26431
|
+
/**
|
|
26432
|
+
* Source details for the video-generation job that created this asset.
|
|
26433
|
+
*/
|
|
26434
|
+
generation?: {
|
|
26435
|
+
/**
|
|
26436
|
+
* Job id that generated this asset.
|
|
26437
|
+
*/
|
|
26438
|
+
job_id: MediaJobId;
|
|
26439
|
+
/**
|
|
26440
|
+
* Generation intent used to create the asset; v1 supports video.generate.
|
|
26441
|
+
*/
|
|
26442
|
+
intent: string;
|
|
26443
|
+
/**
|
|
26444
|
+
* Text prompt submitted for the generation job.
|
|
26445
|
+
*/
|
|
26446
|
+
prompt: string;
|
|
26447
|
+
/**
|
|
26448
|
+
* Router video-generation model that produced the asset.
|
|
26449
|
+
*/
|
|
26450
|
+
model: string;
|
|
26451
|
+
};
|
|
26251
26452
|
};
|
|
26252
26453
|
/**
|
|
26253
26454
|
* A matching asset with its ranking score and supporting matches.
|
|
@@ -26270,11 +26471,11 @@ export type MediaSemanticHit = {
|
|
|
26270
26471
|
*/
|
|
26271
26472
|
matches: Array<MediaSemanticMatch>;
|
|
26272
26473
|
};
|
|
26474
|
+
export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'CONTENT_REJECTED' | 'GENERATION_FAILED' | 'CANDIDATE_EXPIRED' | 'BINDING_READ_ONLY';
|
|
26273
26475
|
/**
|
|
26274
|
-
*
|
|
26476
|
+
* State of a requested video output.
|
|
26275
26477
|
*/
|
|
26276
|
-
export type
|
|
26277
|
-
export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'ASSET_VERSION_CHANGED' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'BINDING_READ_ONLY';
|
|
26478
|
+
export type MediaGenerationOutputStatus = 'pending' | 'succeeded' | 'failed';
|
|
26278
26479
|
/**
|
|
26279
26480
|
* A recorded library event with a monotonically increasing sequence within that library.
|
|
26280
26481
|
*/
|
|
@@ -30925,7 +31126,7 @@ export type MediaSemanticMatch = {
|
|
|
30925
31126
|
/**
|
|
30926
31127
|
* Type of change recorded for a library, asset, processing task, search index or batch.
|
|
30927
31128
|
*/
|
|
30928
|
-
export type MediaMediaEventType = 'library.status_provisioning' | 'library.status_active' | 'library.status_deleting' | 'library.status_deleted' | 'library.status_failed' | 'library.restored' | 'library.updated' | 'asset.created' | 'asset.updated' | 'asset.overwritten' | 'asset.renamed' | 'asset.deleted' | 'understanding.status_ready' | 'understanding.status_failed' | 'understanding.status_unsupported' | 'search.indexed' | 'batch.succeeded' | 'batch.failed' | 'library.understanding_drained' | 'batch.created';
|
|
31129
|
+
export type MediaMediaEventType = 'library.status_provisioning' | 'library.status_active' | 'library.status_deleting' | 'library.status_deleted' | 'library.status_failed' | 'library.restored' | 'library.updated' | 'asset.created' | 'asset.updated' | 'asset.overwritten' | 'asset.renamed' | 'asset.deleted' | 'understanding.status_ready' | 'understanding.status_failed' | 'understanding.status_unsupported' | 'search.indexed' | 'batch.succeeded' | 'batch.failed' | 'library.understanding_drained' | 'batch.created' | 'generation.created' | 'generation.succeeded' | 'generation.failed' | 'generation.cancelled';
|
|
30929
31130
|
/**
|
|
30930
31131
|
* Auto-resume enabled flag for paused sandboxes. Default false.
|
|
30931
31132
|
*/
|
|
@@ -31845,6 +32046,53 @@ export type CutJoinEffect = {
|
|
|
31845
32046
|
* Blur radius in pixels at a reference frame height of 1080 pixels.
|
|
31846
32047
|
*/
|
|
31847
32048
|
radius?: number;
|
|
32049
|
+
} | {
|
|
32050
|
+
/**
|
|
32051
|
+
* Zoom transition.
|
|
32052
|
+
*/
|
|
32053
|
+
kind: 'zoom';
|
|
32054
|
+
/**
|
|
32055
|
+
* Zoom in or out.
|
|
32056
|
+
*/
|
|
32057
|
+
direction?: 'in' | 'out';
|
|
32058
|
+
/**
|
|
32059
|
+
* Peak scale increase as a multiple of the original scale.
|
|
32060
|
+
*/
|
|
32061
|
+
amount?: number;
|
|
32062
|
+
/**
|
|
32063
|
+
* Radial blur strength; zero disables blur sampling.
|
|
32064
|
+
*/
|
|
32065
|
+
blur?: number;
|
|
32066
|
+
} | {
|
|
32067
|
+
/**
|
|
32068
|
+
* Clock transition.
|
|
32069
|
+
*/
|
|
32070
|
+
kind: 'clock';
|
|
32071
|
+
/**
|
|
32072
|
+
* Sweep direction.
|
|
32073
|
+
*/
|
|
32074
|
+
direction?: 'clockwise' | 'counterclockwise';
|
|
32075
|
+
/**
|
|
32076
|
+
* Start angle in degrees, with zero at twelve o'clock.
|
|
32077
|
+
*/
|
|
32078
|
+
start_angle?: number;
|
|
32079
|
+
/**
|
|
32080
|
+
* Angular feather width.
|
|
32081
|
+
*/
|
|
32082
|
+
softness?: number;
|
|
32083
|
+
} | {
|
|
32084
|
+
/**
|
|
32085
|
+
* Flash transition.
|
|
32086
|
+
*/
|
|
32087
|
+
kind: 'flash';
|
|
32088
|
+
/**
|
|
32089
|
+
* Flash color.
|
|
32090
|
+
*/
|
|
32091
|
+
color?: 'white' | 'black';
|
|
32092
|
+
/**
|
|
32093
|
+
* Flash strength.
|
|
32094
|
+
*/
|
|
32095
|
+
intensity?: number;
|
|
31848
32096
|
};
|
|
31849
32097
|
export type KnowledgeStaticChunking = {
|
|
31850
32098
|
/**
|
|
@@ -32819,6 +33067,27 @@ export type MediaAssetWritable = {
|
|
|
32819
33067
|
};
|
|
32820
33068
|
};
|
|
32821
33069
|
};
|
|
33070
|
+
/**
|
|
33071
|
+
* Source details for the video-generation job that created this asset.
|
|
33072
|
+
*/
|
|
33073
|
+
generation?: {
|
|
33074
|
+
/**
|
|
33075
|
+
* Job id that generated this asset.
|
|
33076
|
+
*/
|
|
33077
|
+
job_id: MediaJobId;
|
|
33078
|
+
/**
|
|
33079
|
+
* Generation intent used to create the asset; v1 supports video.generate.
|
|
33080
|
+
*/
|
|
33081
|
+
intent: string;
|
|
33082
|
+
/**
|
|
33083
|
+
* Text prompt submitted for the generation job.
|
|
33084
|
+
*/
|
|
33085
|
+
prompt: string;
|
|
33086
|
+
/**
|
|
33087
|
+
* Router video-generation model that produced the asset.
|
|
33088
|
+
*/
|
|
33089
|
+
model: string;
|
|
33090
|
+
};
|
|
32822
33091
|
};
|
|
32823
33092
|
/**
|
|
32824
33093
|
* Understanding results in this page, ordered by creation time ascending.
|
|
@@ -33420,6 +33689,27 @@ export type MediaSearchAssetWritable = {
|
|
|
33420
33689
|
};
|
|
33421
33690
|
};
|
|
33422
33691
|
};
|
|
33692
|
+
/**
|
|
33693
|
+
* Source details for the video-generation job that created this asset.
|
|
33694
|
+
*/
|
|
33695
|
+
generation?: {
|
|
33696
|
+
/**
|
|
33697
|
+
* Job id that generated this asset.
|
|
33698
|
+
*/
|
|
33699
|
+
job_id: MediaJobId;
|
|
33700
|
+
/**
|
|
33701
|
+
* Generation intent used to create the asset; v1 supports video.generate.
|
|
33702
|
+
*/
|
|
33703
|
+
intent: string;
|
|
33704
|
+
/**
|
|
33705
|
+
* Text prompt submitted for the generation job.
|
|
33706
|
+
*/
|
|
33707
|
+
prompt: string;
|
|
33708
|
+
/**
|
|
33709
|
+
* Router video-generation model that produced the asset.
|
|
33710
|
+
*/
|
|
33711
|
+
model: string;
|
|
33712
|
+
};
|
|
33423
33713
|
};
|
|
33424
33714
|
/**
|
|
33425
33715
|
* A matching asset with its ranking score and supporting matches.
|
|
@@ -72732,6 +73022,10 @@ export type MediaListLibrariesErrors = {
|
|
|
72732
73022
|
* Request failed; see the error code reference.
|
|
72733
73023
|
*/
|
|
72734
73024
|
415: MediaMediaError;
|
|
73025
|
+
/**
|
|
73026
|
+
* Request failed; see the error code reference.
|
|
73027
|
+
*/
|
|
73028
|
+
422: MediaMediaError;
|
|
72735
73029
|
/**
|
|
72736
73030
|
* Request failed; see the error code reference.
|
|
72737
73031
|
*/
|
|
@@ -72823,6 +73117,10 @@ export type MediaCreateLibraryErrors = {
|
|
|
72823
73117
|
* Request failed; see the error code reference.
|
|
72824
73118
|
*/
|
|
72825
73119
|
415: MediaMediaError;
|
|
73120
|
+
/**
|
|
73121
|
+
* Request failed; see the error code reference.
|
|
73122
|
+
*/
|
|
73123
|
+
422: MediaMediaError;
|
|
72826
73124
|
/**
|
|
72827
73125
|
* Request failed; see the error code reference.
|
|
72828
73126
|
*/
|
|
@@ -72897,6 +73195,10 @@ export type MediaCreateFrameUrlsErrors = {
|
|
|
72897
73195
|
* This media format is unsupported; provide a supported format.
|
|
72898
73196
|
*/
|
|
72899
73197
|
415: MediaMediaError;
|
|
73198
|
+
/**
|
|
73199
|
+
* Request failed; see the error code reference.
|
|
73200
|
+
*/
|
|
73201
|
+
422: MediaMediaError;
|
|
72900
73202
|
/**
|
|
72901
73203
|
* A rate limit was reached; wait before retrying.
|
|
72902
73204
|
*/
|
|
@@ -72958,6 +73260,10 @@ export type MediaDeleteLibraryErrors = {
|
|
|
72958
73260
|
* Request failed; see the error code reference.
|
|
72959
73261
|
*/
|
|
72960
73262
|
415: MediaMediaError;
|
|
73263
|
+
/**
|
|
73264
|
+
* Request failed; see the error code reference.
|
|
73265
|
+
*/
|
|
73266
|
+
422: MediaMediaError;
|
|
72961
73267
|
/**
|
|
72962
73268
|
* Request failed; see the error code reference.
|
|
72963
73269
|
*/
|
|
@@ -73019,6 +73325,10 @@ export type MediaGetLibraryErrors = {
|
|
|
73019
73325
|
* Request failed; see the error code reference.
|
|
73020
73326
|
*/
|
|
73021
73327
|
415: MediaMediaError;
|
|
73328
|
+
/**
|
|
73329
|
+
* Request failed; see the error code reference.
|
|
73330
|
+
*/
|
|
73331
|
+
422: MediaMediaError;
|
|
73022
73332
|
/**
|
|
73023
73333
|
* Request failed; see the error code reference.
|
|
73024
73334
|
*/
|
|
@@ -73119,6 +73429,10 @@ export type MediaUpdateLibraryErrors = {
|
|
|
73119
73429
|
* Request failed; see the error code reference.
|
|
73120
73430
|
*/
|
|
73121
73431
|
415: MediaMediaError;
|
|
73432
|
+
/**
|
|
73433
|
+
* Request failed; see the error code reference.
|
|
73434
|
+
*/
|
|
73435
|
+
422: MediaMediaError;
|
|
73122
73436
|
/**
|
|
73123
73437
|
* Request failed; see the error code reference.
|
|
73124
73438
|
*/
|
|
@@ -73180,6 +73494,10 @@ export type MediaRestoreLibraryErrors = {
|
|
|
73180
73494
|
* Request failed; see the error code reference.
|
|
73181
73495
|
*/
|
|
73182
73496
|
415: MediaMediaError;
|
|
73497
|
+
/**
|
|
73498
|
+
* Request failed; see the error code reference.
|
|
73499
|
+
*/
|
|
73500
|
+
422: MediaMediaError;
|
|
73183
73501
|
/**
|
|
73184
73502
|
* Request failed; see the error code reference.
|
|
73185
73503
|
*/
|
|
@@ -73241,6 +73559,10 @@ export type MediaPurgeLibraryErrors = {
|
|
|
73241
73559
|
* Request failed; see the error code reference.
|
|
73242
73560
|
*/
|
|
73243
73561
|
415: MediaMediaError;
|
|
73562
|
+
/**
|
|
73563
|
+
* Request failed; see the error code reference.
|
|
73564
|
+
*/
|
|
73565
|
+
422: MediaMediaError;
|
|
73244
73566
|
/**
|
|
73245
73567
|
* Request failed; see the error code reference.
|
|
73246
73568
|
*/
|
|
@@ -73319,6 +73641,10 @@ export type MediaListAssetsErrors = {
|
|
|
73319
73641
|
* Request failed; see the error code reference.
|
|
73320
73642
|
*/
|
|
73321
73643
|
415: MediaMediaError;
|
|
73644
|
+
/**
|
|
73645
|
+
* Request failed; see the error code reference.
|
|
73646
|
+
*/
|
|
73647
|
+
422: MediaMediaError;
|
|
73322
73648
|
/**
|
|
73323
73649
|
* Request failed; see the error code reference.
|
|
73324
73650
|
*/
|
|
@@ -73456,6 +73782,10 @@ export type MediaUploadAssetErrors = {
|
|
|
73456
73782
|
* Request failed; see the error code reference.
|
|
73457
73783
|
*/
|
|
73458
73784
|
415: MediaMediaError;
|
|
73785
|
+
/**
|
|
73786
|
+
* Request failed; see the error code reference.
|
|
73787
|
+
*/
|
|
73788
|
+
422: MediaMediaError;
|
|
73459
73789
|
/**
|
|
73460
73790
|
* Request failed; see the error code reference.
|
|
73461
73791
|
*/
|
|
@@ -73583,6 +73913,10 @@ export type MediaImportAssetErrors = {
|
|
|
73583
73913
|
* Request failed; see the error code reference.
|
|
73584
73914
|
*/
|
|
73585
73915
|
415: MediaMediaError;
|
|
73916
|
+
/**
|
|
73917
|
+
* Request failed; see the error code reference.
|
|
73918
|
+
*/
|
|
73919
|
+
422: MediaMediaError;
|
|
73586
73920
|
/**
|
|
73587
73921
|
* Request failed; see the error code reference.
|
|
73588
73922
|
*/
|
|
@@ -73648,6 +73982,10 @@ export type MediaDeleteAssetErrors = {
|
|
|
73648
73982
|
* Request failed; see the error code reference.
|
|
73649
73983
|
*/
|
|
73650
73984
|
415: MediaMediaError;
|
|
73985
|
+
/**
|
|
73986
|
+
* Request failed; see the error code reference.
|
|
73987
|
+
*/
|
|
73988
|
+
422: MediaMediaError;
|
|
73651
73989
|
/**
|
|
73652
73990
|
* Request failed; see the error code reference.
|
|
73653
73991
|
*/
|
|
@@ -73713,6 +74051,10 @@ export type MediaGetAssetErrors = {
|
|
|
73713
74051
|
* Request failed; see the error code reference.
|
|
73714
74052
|
*/
|
|
73715
74053
|
415: MediaMediaError;
|
|
74054
|
+
/**
|
|
74055
|
+
* Request failed; see the error code reference.
|
|
74056
|
+
*/
|
|
74057
|
+
422: MediaMediaError;
|
|
73716
74058
|
/**
|
|
73717
74059
|
* Request failed; see the error code reference.
|
|
73718
74060
|
*/
|
|
@@ -73800,6 +74142,10 @@ export type MediaUpdateAssetErrors = {
|
|
|
73800
74142
|
* Request failed; see the error code reference.
|
|
73801
74143
|
*/
|
|
73802
74144
|
415: MediaMediaError;
|
|
74145
|
+
/**
|
|
74146
|
+
* Request failed; see the error code reference.
|
|
74147
|
+
*/
|
|
74148
|
+
422: MediaMediaError;
|
|
73803
74149
|
/**
|
|
73804
74150
|
* Request failed; see the error code reference.
|
|
73805
74151
|
*/
|
|
@@ -73873,6 +74219,10 @@ export type MediaReprocessAssetErrors = {
|
|
|
73873
74219
|
* Request failed; see the error code reference.
|
|
73874
74220
|
*/
|
|
73875
74221
|
415: MediaMediaError;
|
|
74222
|
+
/**
|
|
74223
|
+
* Request failed; see the error code reference.
|
|
74224
|
+
*/
|
|
74225
|
+
422: MediaMediaError;
|
|
73876
74226
|
/**
|
|
73877
74227
|
* Request failed; see the error code reference.
|
|
73878
74228
|
*/
|
|
@@ -73955,6 +74305,10 @@ export type MediaListUnderstandingsErrors = {
|
|
|
73955
74305
|
* Request failed; see the error code reference.
|
|
73956
74306
|
*/
|
|
73957
74307
|
415: MediaMediaError;
|
|
74308
|
+
/**
|
|
74309
|
+
* Request failed; see the error code reference.
|
|
74310
|
+
*/
|
|
74311
|
+
422: MediaMediaError;
|
|
73958
74312
|
/**
|
|
73959
74313
|
* Request failed; see the error code reference.
|
|
73960
74314
|
*/
|
|
@@ -74046,6 +74400,10 @@ export type MediaExpressionSearchErrors = {
|
|
|
74046
74400
|
* Request failed; see the error code reference.
|
|
74047
74401
|
*/
|
|
74048
74402
|
415: MediaMediaError;
|
|
74403
|
+
/**
|
|
74404
|
+
* Request failed; see the error code reference.
|
|
74405
|
+
*/
|
|
74406
|
+
422: MediaMediaError;
|
|
74049
74407
|
/**
|
|
74050
74408
|
* Request failed; see the error code reference.
|
|
74051
74409
|
*/
|
|
@@ -74133,6 +74491,10 @@ export type MediaVisualSearchErrors = {
|
|
|
74133
74491
|
* Request failed; see the error code reference.
|
|
74134
74492
|
*/
|
|
74135
74493
|
415: MediaMediaError;
|
|
74494
|
+
/**
|
|
74495
|
+
* Request failed; see the error code reference.
|
|
74496
|
+
*/
|
|
74497
|
+
422: MediaMediaError;
|
|
74136
74498
|
/**
|
|
74137
74499
|
* Request failed; see the error code reference.
|
|
74138
74500
|
*/
|
|
@@ -74214,6 +74576,10 @@ export type MediaSemanticSearchErrors = {
|
|
|
74214
74576
|
* Request failed; see the error code reference.
|
|
74215
74577
|
*/
|
|
74216
74578
|
415: MediaMediaError;
|
|
74579
|
+
/**
|
|
74580
|
+
* Request failed; see the error code reference.
|
|
74581
|
+
*/
|
|
74582
|
+
422: MediaMediaError;
|
|
74217
74583
|
/**
|
|
74218
74584
|
* Request failed; see the error code reference.
|
|
74219
74585
|
*/
|
|
@@ -74295,6 +74661,10 @@ export type MediaSearchErrors = {
|
|
|
74295
74661
|
* Request failed; see the error code reference.
|
|
74296
74662
|
*/
|
|
74297
74663
|
415: MediaMediaError;
|
|
74664
|
+
/**
|
|
74665
|
+
* Request failed; see the error code reference.
|
|
74666
|
+
*/
|
|
74667
|
+
422: MediaMediaError;
|
|
74298
74668
|
/**
|
|
74299
74669
|
* Request failed; see the error code reference.
|
|
74300
74670
|
*/
|
|
@@ -74361,6 +74731,10 @@ export type MediaListFoldersErrors = {
|
|
|
74361
74731
|
* Request failed; see the error code reference.
|
|
74362
74732
|
*/
|
|
74363
74733
|
415: MediaMediaError;
|
|
74734
|
+
/**
|
|
74735
|
+
* Request failed; see the error code reference.
|
|
74736
|
+
*/
|
|
74737
|
+
422: MediaMediaError;
|
|
74364
74738
|
/**
|
|
74365
74739
|
* Request failed; see the error code reference.
|
|
74366
74740
|
*/
|
|
@@ -74434,6 +74808,10 @@ export type MediaCreateBatchErrors = {
|
|
|
74434
74808
|
* Request failed; see the error code reference.
|
|
74435
74809
|
*/
|
|
74436
74810
|
415: MediaMediaError;
|
|
74811
|
+
/**
|
|
74812
|
+
* Request failed; see the error code reference.
|
|
74813
|
+
*/
|
|
74814
|
+
422: MediaMediaError;
|
|
74437
74815
|
/**
|
|
74438
74816
|
* Request failed; see the error code reference.
|
|
74439
74817
|
*/
|
|
@@ -74499,6 +74877,10 @@ export type MediaGetBatchErrors = {
|
|
|
74499
74877
|
* Request failed; see the error code reference.
|
|
74500
74878
|
*/
|
|
74501
74879
|
415: MediaMediaError;
|
|
74880
|
+
/**
|
|
74881
|
+
* Request failed; see the error code reference.
|
|
74882
|
+
*/
|
|
74883
|
+
422: MediaMediaError;
|
|
74502
74884
|
/**
|
|
74503
74885
|
* Request failed; see the error code reference.
|
|
74504
74886
|
*/
|
|
@@ -74572,6 +74954,10 @@ export type MediaBatchAssetsErrors = {
|
|
|
74572
74954
|
* Request failed; see the error code reference.
|
|
74573
74955
|
*/
|
|
74574
74956
|
415: MediaMediaError;
|
|
74957
|
+
/**
|
|
74958
|
+
* Request failed; see the error code reference.
|
|
74959
|
+
*/
|
|
74960
|
+
422: MediaMediaError;
|
|
74575
74961
|
/**
|
|
74576
74962
|
* Request failed; see the error code reference.
|
|
74577
74963
|
*/
|
|
@@ -74605,7 +74991,7 @@ export type MediaGetJobData = {
|
|
|
74605
74991
|
*/
|
|
74606
74992
|
library_id: string;
|
|
74607
74993
|
/**
|
|
74608
|
-
*
|
|
74994
|
+
* Job identifier returned by batch creation, video-generation creation or job listing; resolved within this library.
|
|
74609
74995
|
*/
|
|
74610
74996
|
job_id: string;
|
|
74611
74997
|
};
|
|
@@ -74614,15 +75000,15 @@ export type MediaGetJobData = {
|
|
|
74614
75000
|
};
|
|
74615
75001
|
export type MediaGetJobErrors = {
|
|
74616
75002
|
/**
|
|
74617
|
-
*
|
|
75003
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
74618
75004
|
*/
|
|
74619
75005
|
400: MediaMediaError;
|
|
74620
75006
|
/**
|
|
74621
|
-
*
|
|
75007
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
74622
75008
|
*/
|
|
74623
75009
|
403: MediaMediaError;
|
|
74624
75010
|
/**
|
|
74625
|
-
*
|
|
75011
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
74626
75012
|
*/
|
|
74627
75013
|
404: MediaMediaError;
|
|
74628
75014
|
/**
|
|
@@ -74630,19 +75016,23 @@ export type MediaGetJobErrors = {
|
|
|
74630
75016
|
*/
|
|
74631
75017
|
409: MediaMediaError;
|
|
74632
75018
|
/**
|
|
74633
|
-
*
|
|
75019
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
74634
75020
|
*/
|
|
74635
75021
|
413: MediaMediaError;
|
|
74636
75022
|
/**
|
|
74637
|
-
*
|
|
75023
|
+
* This media format is unsupported; provide a supported format.
|
|
74638
75024
|
*/
|
|
74639
75025
|
415: MediaMediaError;
|
|
74640
75026
|
/**
|
|
74641
75027
|
* Request failed; see the error code reference.
|
|
74642
75028
|
*/
|
|
75029
|
+
422: MediaMediaError;
|
|
75030
|
+
/**
|
|
75031
|
+
* A rate limit was reached; wait before retrying.
|
|
75032
|
+
*/
|
|
74643
75033
|
429: MediaMediaError;
|
|
74644
75034
|
/**
|
|
74645
|
-
*
|
|
75035
|
+
* The requested operation is unsupported; choose a supported method.
|
|
74646
75036
|
*/
|
|
74647
75037
|
501: MediaMediaError;
|
|
74648
75038
|
/**
|
|
@@ -74650,7 +75040,7 @@ export type MediaGetJobErrors = {
|
|
|
74650
75040
|
*/
|
|
74651
75041
|
502: MediaMediaError;
|
|
74652
75042
|
/**
|
|
74653
|
-
*
|
|
75043
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
74654
75044
|
*/
|
|
74655
75045
|
503: MediaMediaError;
|
|
74656
75046
|
};
|
|
@@ -74715,6 +75105,10 @@ export type MediaListEventsErrors = {
|
|
|
74715
75105
|
* Request failed; see the error code reference.
|
|
74716
75106
|
*/
|
|
74717
75107
|
415: MediaMediaError;
|
|
75108
|
+
/**
|
|
75109
|
+
* Request failed; see the error code reference.
|
|
75110
|
+
*/
|
|
75111
|
+
422: MediaMediaError;
|
|
74718
75112
|
/**
|
|
74719
75113
|
* Request failed; see the error code reference.
|
|
74720
75114
|
*/
|
|
@@ -74788,6 +75182,10 @@ export type MediaCreateDeliveryTokenErrors = {
|
|
|
74788
75182
|
* Request failed; see the error code reference.
|
|
74789
75183
|
*/
|
|
74790
75184
|
415: MediaMediaError;
|
|
75185
|
+
/**
|
|
75186
|
+
* Request failed; see the error code reference.
|
|
75187
|
+
*/
|
|
75188
|
+
422: MediaMediaError;
|
|
74791
75189
|
/**
|
|
74792
75190
|
* Request failed; see the error code reference.
|
|
74793
75191
|
*/
|
|
@@ -74849,6 +75247,10 @@ export type MediaUnderstandingFailureSummaryErrors = {
|
|
|
74849
75247
|
* This media format is unsupported; provide a supported format.
|
|
74850
75248
|
*/
|
|
74851
75249
|
415: MediaMediaError;
|
|
75250
|
+
/**
|
|
75251
|
+
* Request failed; see the error code reference.
|
|
75252
|
+
*/
|
|
75253
|
+
422: MediaMediaError;
|
|
74852
75254
|
/**
|
|
74853
75255
|
* A rate limit was reached; wait before retrying.
|
|
74854
75256
|
*/
|
|
@@ -74927,6 +75329,10 @@ export type MediaListUnderstandingsByLibraryErrors = {
|
|
|
74927
75329
|
* This media format is unsupported; provide a supported format.
|
|
74928
75330
|
*/
|
|
74929
75331
|
415: MediaMediaError;
|
|
75332
|
+
/**
|
|
75333
|
+
* Request failed; see the error code reference.
|
|
75334
|
+
*/
|
|
75335
|
+
422: MediaMediaError;
|
|
74930
75336
|
/**
|
|
74931
75337
|
* A rate limit was reached; wait before retrying.
|
|
74932
75338
|
*/
|
|
@@ -74952,6 +75358,425 @@ export type MediaListUnderstandingsByLibraryResponses = {
|
|
|
74952
75358
|
200: MediaUnderstandingPage;
|
|
74953
75359
|
};
|
|
74954
75360
|
export type MediaListUnderstandingsByLibraryResponse = MediaListUnderstandingsByLibraryResponses[keyof MediaListUnderstandingsByLibraryResponses];
|
|
75361
|
+
export type MediaCreateGenerationData = {
|
|
75362
|
+
/**
|
|
75363
|
+
* Text-to-video request. Generation is charged per second; unsaved candidates expire after 7 days.
|
|
75364
|
+
*/
|
|
75365
|
+
body: {
|
|
75366
|
+
/**
|
|
75367
|
+
* Generation operation; v1 accepts only video.generate text-to-video requests.
|
|
75368
|
+
*/
|
|
75369
|
+
intent: 'video.generate';
|
|
75370
|
+
/**
|
|
75371
|
+
* Text prompt describing the video to generate.
|
|
75372
|
+
*/
|
|
75373
|
+
prompt: string;
|
|
75374
|
+
/**
|
|
75375
|
+
* Number of videos to generate; defaults to 1 and must be from 1 to 4.
|
|
75376
|
+
*/
|
|
75377
|
+
count?: number;
|
|
75378
|
+
/**
|
|
75379
|
+
* Requested video duration in seconds; Router validates the model-specific supported durations.
|
|
75380
|
+
*/
|
|
75381
|
+
duration_seconds?: number;
|
|
75382
|
+
/**
|
|
75383
|
+
* Requested output aspect ratio; defaults to 16:9 and Router validates model support.
|
|
75384
|
+
*/
|
|
75385
|
+
aspect_ratio?: string;
|
|
75386
|
+
/**
|
|
75387
|
+
* Router model with video_generation capability; defaults to wan2.7-t2v.
|
|
75388
|
+
*/
|
|
75389
|
+
model?: string;
|
|
75390
|
+
/**
|
|
75391
|
+
* candidate keeps outputs temporary for explicit save calls; library saves successful outputs automatically.
|
|
75392
|
+
*/
|
|
75393
|
+
save?: 'candidate' | 'library';
|
|
75394
|
+
/**
|
|
75395
|
+
* Folder for assets saved automatically or by later save calls; defaults to the library root. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out.
|
|
75396
|
+
*/
|
|
75397
|
+
asset_folder?: string;
|
|
75398
|
+
/**
|
|
75399
|
+
* Tags applied when an output becomes a library asset.
|
|
75400
|
+
*/
|
|
75401
|
+
tags?: Array<string>;
|
|
75402
|
+
/**
|
|
75403
|
+
* Understanding behavior when a candidate is saved as an asset; defaults to auto.
|
|
75404
|
+
*/
|
|
75405
|
+
understanding?: 'auto' | 'skip';
|
|
75406
|
+
/**
|
|
75407
|
+
* Not supported in v1; omit this field. Only text-to-video is currently available.
|
|
75408
|
+
*/
|
|
75409
|
+
references?: Array<unknown>;
|
|
75410
|
+
};
|
|
75411
|
+
headers?: {
|
|
75412
|
+
/**
|
|
75413
|
+
* Stable key for retrying the same request without creating or charging for another job; reusing it with different request content is rejected.
|
|
75414
|
+
*/
|
|
75415
|
+
'Idempotency-Key'?: string;
|
|
75416
|
+
};
|
|
75417
|
+
path: {
|
|
75418
|
+
/**
|
|
75419
|
+
* Library ID returned by creation.
|
|
75420
|
+
*/
|
|
75421
|
+
library_id: string;
|
|
75422
|
+
};
|
|
75423
|
+
query?: never;
|
|
75424
|
+
url: '/media/v1/libraries/{library_id}/generations';
|
|
75425
|
+
};
|
|
75426
|
+
export type MediaCreateGenerationErrors = {
|
|
75427
|
+
/**
|
|
75428
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
75429
|
+
*/
|
|
75430
|
+
400: MediaMediaError;
|
|
75431
|
+
/**
|
|
75432
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
75433
|
+
*/
|
|
75434
|
+
403: MediaMediaError;
|
|
75435
|
+
/**
|
|
75436
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
75437
|
+
*/
|
|
75438
|
+
404: MediaMediaError;
|
|
75439
|
+
/**
|
|
75440
|
+
* Request failed; see the error code reference.
|
|
75441
|
+
*/
|
|
75442
|
+
409: MediaMediaError;
|
|
75443
|
+
/**
|
|
75444
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
75445
|
+
*/
|
|
75446
|
+
413: MediaMediaError;
|
|
75447
|
+
/**
|
|
75448
|
+
* This media format is unsupported; provide a supported format.
|
|
75449
|
+
*/
|
|
75450
|
+
415: MediaMediaError;
|
|
75451
|
+
/**
|
|
75452
|
+
* Request failed; see the error code reference.
|
|
75453
|
+
*/
|
|
75454
|
+
422: MediaMediaError;
|
|
75455
|
+
/**
|
|
75456
|
+
* This library already has five queued or running generation jobs; wait until one finishes and retry.
|
|
75457
|
+
*/
|
|
75458
|
+
429: MediaMediaError;
|
|
75459
|
+
/**
|
|
75460
|
+
* The requested operation is unsupported; choose a supported method.
|
|
75461
|
+
*/
|
|
75462
|
+
501: MediaMediaError;
|
|
75463
|
+
/**
|
|
75464
|
+
* Request failed; see the error code reference.
|
|
75465
|
+
*/
|
|
75466
|
+
502: MediaMediaError;
|
|
75467
|
+
/**
|
|
75468
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
75469
|
+
*/
|
|
75470
|
+
503: MediaMediaError;
|
|
75471
|
+
};
|
|
75472
|
+
export type MediaCreateGenerationError = MediaCreateGenerationErrors[keyof MediaCreateGenerationErrors];
|
|
75473
|
+
export type MediaCreateGenerationResponses = {
|
|
75474
|
+
/**
|
|
75475
|
+
* Successful response.
|
|
75476
|
+
*/
|
|
75477
|
+
202: MediaJob;
|
|
75478
|
+
};
|
|
75479
|
+
export type MediaCreateGenerationResponse = MediaCreateGenerationResponses[keyof MediaCreateGenerationResponses];
|
|
75480
|
+
export type MediaListJobsData = {
|
|
75481
|
+
body?: never;
|
|
75482
|
+
path: {
|
|
75483
|
+
/**
|
|
75484
|
+
* Library ID returned by creation.
|
|
75485
|
+
*/
|
|
75486
|
+
library_id: string;
|
|
75487
|
+
};
|
|
75488
|
+
query?: {
|
|
75489
|
+
/**
|
|
75490
|
+
* Filter jobs by their current status.
|
|
75491
|
+
*/
|
|
75492
|
+
status?: MediaJobStatus;
|
|
75493
|
+
/**
|
|
75494
|
+
* Maximum entries in this page, from 1 through 100; defaults to 100.
|
|
75495
|
+
*/
|
|
75496
|
+
limit?: number;
|
|
75497
|
+
/**
|
|
75498
|
+
* Job id from the previous page’s next_cursor; omit for the first page.
|
|
75499
|
+
*/
|
|
75500
|
+
cursor?: MediaJobId;
|
|
75501
|
+
};
|
|
75502
|
+
url: '/media/v1/libraries/{library_id}/jobs';
|
|
75503
|
+
};
|
|
75504
|
+
export type MediaListJobsErrors = {
|
|
75505
|
+
/**
|
|
75506
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
75507
|
+
*/
|
|
75508
|
+
400: MediaMediaError;
|
|
75509
|
+
/**
|
|
75510
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
75511
|
+
*/
|
|
75512
|
+
403: MediaMediaError;
|
|
75513
|
+
/**
|
|
75514
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
75515
|
+
*/
|
|
75516
|
+
404: MediaMediaError;
|
|
75517
|
+
/**
|
|
75518
|
+
* Request failed; see the error code reference.
|
|
75519
|
+
*/
|
|
75520
|
+
409: MediaMediaError;
|
|
75521
|
+
/**
|
|
75522
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
75523
|
+
*/
|
|
75524
|
+
413: MediaMediaError;
|
|
75525
|
+
/**
|
|
75526
|
+
* This media format is unsupported; provide a supported format.
|
|
75527
|
+
*/
|
|
75528
|
+
415: MediaMediaError;
|
|
75529
|
+
/**
|
|
75530
|
+
* Request failed; see the error code reference.
|
|
75531
|
+
*/
|
|
75532
|
+
422: MediaMediaError;
|
|
75533
|
+
/**
|
|
75534
|
+
* A rate limit was reached; wait before retrying.
|
|
75535
|
+
*/
|
|
75536
|
+
429: MediaMediaError;
|
|
75537
|
+
/**
|
|
75538
|
+
* The requested operation is unsupported; choose a supported method.
|
|
75539
|
+
*/
|
|
75540
|
+
501: MediaMediaError;
|
|
75541
|
+
/**
|
|
75542
|
+
* Request failed; see the error code reference.
|
|
75543
|
+
*/
|
|
75544
|
+
502: MediaMediaError;
|
|
75545
|
+
/**
|
|
75546
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
75547
|
+
*/
|
|
75548
|
+
503: MediaMediaError;
|
|
75549
|
+
};
|
|
75550
|
+
export type MediaListJobsError = MediaListJobsErrors[keyof MediaListJobsErrors];
|
|
75551
|
+
export type MediaListJobsResponses = {
|
|
75552
|
+
/**
|
|
75553
|
+
* Successful response.
|
|
75554
|
+
*/
|
|
75555
|
+
200: MediaJobPage;
|
|
75556
|
+
};
|
|
75557
|
+
export type MediaListJobsResponse = MediaListJobsResponses[keyof MediaListJobsResponses];
|
|
75558
|
+
export type MediaCancelJobData = {
|
|
75559
|
+
body?: never;
|
|
75560
|
+
path: {
|
|
75561
|
+
/**
|
|
75562
|
+
* Library ID returned by creation.
|
|
75563
|
+
*/
|
|
75564
|
+
library_id: string;
|
|
75565
|
+
/**
|
|
75566
|
+
* Job identifier returned by batch or generation creation; the job is resolved within the specified library.
|
|
75567
|
+
*/
|
|
75568
|
+
job_id: string;
|
|
75569
|
+
};
|
|
75570
|
+
query?: never;
|
|
75571
|
+
url: '/media/v1/libraries/{library_id}/jobs/{job_id}/cancel';
|
|
75572
|
+
};
|
|
75573
|
+
export type MediaCancelJobErrors = {
|
|
75574
|
+
/**
|
|
75575
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
75576
|
+
*/
|
|
75577
|
+
400: MediaMediaError;
|
|
75578
|
+
/**
|
|
75579
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
75580
|
+
*/
|
|
75581
|
+
403: MediaMediaError;
|
|
75582
|
+
/**
|
|
75583
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
75584
|
+
*/
|
|
75585
|
+
404: MediaMediaError;
|
|
75586
|
+
/**
|
|
75587
|
+
* Request failed; see the error code reference.
|
|
75588
|
+
*/
|
|
75589
|
+
409: MediaMediaError;
|
|
75590
|
+
/**
|
|
75591
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
75592
|
+
*/
|
|
75593
|
+
413: MediaMediaError;
|
|
75594
|
+
/**
|
|
75595
|
+
* This media format is unsupported; provide a supported format.
|
|
75596
|
+
*/
|
|
75597
|
+
415: MediaMediaError;
|
|
75598
|
+
/**
|
|
75599
|
+
* Request failed; see the error code reference.
|
|
75600
|
+
*/
|
|
75601
|
+
422: MediaMediaError;
|
|
75602
|
+
/**
|
|
75603
|
+
* A rate limit was reached; wait before retrying.
|
|
75604
|
+
*/
|
|
75605
|
+
429: MediaMediaError;
|
|
75606
|
+
/**
|
|
75607
|
+
* The requested operation is unsupported; choose a supported method.
|
|
75608
|
+
*/
|
|
75609
|
+
501: MediaMediaError;
|
|
75610
|
+
/**
|
|
75611
|
+
* Request failed; see the error code reference.
|
|
75612
|
+
*/
|
|
75613
|
+
502: MediaMediaError;
|
|
75614
|
+
/**
|
|
75615
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
75616
|
+
*/
|
|
75617
|
+
503: MediaMediaError;
|
|
75618
|
+
};
|
|
75619
|
+
export type MediaCancelJobError = MediaCancelJobErrors[keyof MediaCancelJobErrors];
|
|
75620
|
+
export type MediaCancelJobResponses = {
|
|
75621
|
+
/**
|
|
75622
|
+
* Successful response.
|
|
75623
|
+
*/
|
|
75624
|
+
200: MediaJob;
|
|
75625
|
+
};
|
|
75626
|
+
export type MediaCancelJobResponse = MediaCancelJobResponses[keyof MediaCancelJobResponses];
|
|
75627
|
+
export type MediaSaveGenerationOutputData = {
|
|
75628
|
+
/**
|
|
75629
|
+
* Optional asset metadata and understanding behavior for a successful candidate.
|
|
75630
|
+
*/
|
|
75631
|
+
body?: {
|
|
75632
|
+
/**
|
|
75633
|
+
* Delivery identifier for the saved asset; defaults to gen_<job_id>_<index> and is idempotent.
|
|
75634
|
+
*/
|
|
75635
|
+
public_id?: string;
|
|
75636
|
+
/**
|
|
75637
|
+
* Destination folder for the saved asset; defaults to the library root. New path segments containing U+FFFD or consisting only of question marks are rejected with INVALID_PARAMS; send UTF-8 names. Existing affected folders remain readable and assets can be moved out.
|
|
75638
|
+
*/
|
|
75639
|
+
asset_folder?: string;
|
|
75640
|
+
/**
|
|
75641
|
+
* Tags to apply to the saved asset.
|
|
75642
|
+
*/
|
|
75643
|
+
tags?: Array<string>;
|
|
75644
|
+
/**
|
|
75645
|
+
* Understanding behavior for the saved asset; defaults to auto.
|
|
75646
|
+
*/
|
|
75647
|
+
understanding?: 'auto' | 'skip';
|
|
75648
|
+
};
|
|
75649
|
+
path: {
|
|
75650
|
+
/**
|
|
75651
|
+
* Library ID returned by creation.
|
|
75652
|
+
*/
|
|
75653
|
+
library_id: string;
|
|
75654
|
+
/**
|
|
75655
|
+
* Job identifier returned by batch or generation creation; the job is resolved within the specified library.
|
|
75656
|
+
*/
|
|
75657
|
+
job_id: string;
|
|
75658
|
+
/**
|
|
75659
|
+
* Zero-based position of the candidate in the Job outputs array.
|
|
75660
|
+
*/
|
|
75661
|
+
index: string;
|
|
75662
|
+
};
|
|
75663
|
+
query?: never;
|
|
75664
|
+
url: '/media/v1/libraries/{library_id}/jobs/{job_id}/outputs/{index}/save';
|
|
75665
|
+
};
|
|
75666
|
+
export type MediaSaveGenerationOutputErrors = {
|
|
75667
|
+
/**
|
|
75668
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
75669
|
+
*/
|
|
75670
|
+
400: MediaMediaError;
|
|
75671
|
+
/**
|
|
75672
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
75673
|
+
*/
|
|
75674
|
+
403: MediaMediaError;
|
|
75675
|
+
/**
|
|
75676
|
+
* The job or output is inaccessible, missing, or the candidate has expired; verify library ownership and create a new job for an expired candidate.
|
|
75677
|
+
*/
|
|
75678
|
+
404: MediaMediaError;
|
|
75679
|
+
/**
|
|
75680
|
+
* Request failed; see the error code reference.
|
|
75681
|
+
*/
|
|
75682
|
+
409: MediaMediaError;
|
|
75683
|
+
/**
|
|
75684
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
75685
|
+
*/
|
|
75686
|
+
413: MediaMediaError;
|
|
75687
|
+
/**
|
|
75688
|
+
* This media format is unsupported; provide a supported format.
|
|
75689
|
+
*/
|
|
75690
|
+
415: MediaMediaError;
|
|
75691
|
+
/**
|
|
75692
|
+
* Request failed; see the error code reference.
|
|
75693
|
+
*/
|
|
75694
|
+
422: MediaMediaError;
|
|
75695
|
+
/**
|
|
75696
|
+
* A rate limit was reached; wait before retrying.
|
|
75697
|
+
*/
|
|
75698
|
+
429: MediaMediaError;
|
|
75699
|
+
/**
|
|
75700
|
+
* The requested operation is unsupported; choose a supported method.
|
|
75701
|
+
*/
|
|
75702
|
+
501: MediaMediaError;
|
|
75703
|
+
/**
|
|
75704
|
+
* Request failed; see the error code reference.
|
|
75705
|
+
*/
|
|
75706
|
+
502: MediaMediaError;
|
|
75707
|
+
/**
|
|
75708
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
75709
|
+
*/
|
|
75710
|
+
503: MediaMediaError;
|
|
75711
|
+
};
|
|
75712
|
+
export type MediaSaveGenerationOutputError = MediaSaveGenerationOutputErrors[keyof MediaSaveGenerationOutputErrors];
|
|
75713
|
+
export type MediaSaveGenerationOutputResponses = {
|
|
75714
|
+
/**
|
|
75715
|
+
* Successful response.
|
|
75716
|
+
*/
|
|
75717
|
+
200: MediaAsset;
|
|
75718
|
+
};
|
|
75719
|
+
export type MediaSaveGenerationOutputResponse = MediaSaveGenerationOutputResponses[keyof MediaSaveGenerationOutputResponses];
|
|
75720
|
+
export type MediaGetGenerationCapabilitiesData = {
|
|
75721
|
+
body?: never;
|
|
75722
|
+
path?: never;
|
|
75723
|
+
query?: never;
|
|
75724
|
+
url: '/media/v1/generation/capabilities';
|
|
75725
|
+
};
|
|
75726
|
+
export type MediaGetGenerationCapabilitiesErrors = {
|
|
75727
|
+
/**
|
|
75728
|
+
* A selector, cursor, limit or other parameter is invalid; correct the reported field before retrying.
|
|
75729
|
+
*/
|
|
75730
|
+
400: MediaMediaError;
|
|
75731
|
+
/**
|
|
75732
|
+
* This credential has read-only access to the library; use a write-capable binding for mutations.
|
|
75733
|
+
*/
|
|
75734
|
+
403: MediaMediaError;
|
|
75735
|
+
/**
|
|
75736
|
+
* The library or asset is missing, deleted or belongs to another tenant; verify its identifier and owner.
|
|
75737
|
+
*/
|
|
75738
|
+
404: MediaMediaError;
|
|
75739
|
+
/**
|
|
75740
|
+
* Request failed; see the error code reference.
|
|
75741
|
+
*/
|
|
75742
|
+
409: MediaMediaError;
|
|
75743
|
+
/**
|
|
75744
|
+
* The file exceeds an input limit; provide a smaller source file.
|
|
75745
|
+
*/
|
|
75746
|
+
413: MediaMediaError;
|
|
75747
|
+
/**
|
|
75748
|
+
* This media format is unsupported; provide a supported format.
|
|
75749
|
+
*/
|
|
75750
|
+
415: MediaMediaError;
|
|
75751
|
+
/**
|
|
75752
|
+
* Request failed; see the error code reference.
|
|
75753
|
+
*/
|
|
75754
|
+
422: MediaMediaError;
|
|
75755
|
+
/**
|
|
75756
|
+
* A rate limit was reached; wait before retrying.
|
|
75757
|
+
*/
|
|
75758
|
+
429: MediaMediaError;
|
|
75759
|
+
/**
|
|
75760
|
+
* The requested operation is unsupported; choose a supported method.
|
|
75761
|
+
*/
|
|
75762
|
+
501: MediaMediaError;
|
|
75763
|
+
/**
|
|
75764
|
+
* Request failed; see the error code reference.
|
|
75765
|
+
*/
|
|
75766
|
+
502: MediaMediaError;
|
|
75767
|
+
/**
|
|
75768
|
+
* Historical projections are still being initialized, or library storage is temporarily unavailable; retry shortly and check failureSummary counts_complete.
|
|
75769
|
+
*/
|
|
75770
|
+
503: MediaMediaError;
|
|
75771
|
+
};
|
|
75772
|
+
export type MediaGetGenerationCapabilitiesError = MediaGetGenerationCapabilitiesErrors[keyof MediaGetGenerationCapabilitiesErrors];
|
|
75773
|
+
export type MediaGetGenerationCapabilitiesResponses = {
|
|
75774
|
+
/**
|
|
75775
|
+
* Successful response.
|
|
75776
|
+
*/
|
|
75777
|
+
200: MediaGenerationCapabilities;
|
|
75778
|
+
};
|
|
75779
|
+
export type MediaGetGenerationCapabilitiesResponse = MediaGetGenerationCapabilitiesResponses[keyof MediaGetGenerationCapabilitiesResponses];
|
|
74955
75780
|
export type GetSandboxV1SandboxesData = {
|
|
74956
75781
|
body?: never;
|
|
74957
75782
|
path?: never;
|