@wevion/cli 1.0.3244 → 1.0.3252
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/openapi.json +234 -36
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -104316,7 +104316,7 @@
|
|
|
104316
104316
|
"tags": [
|
|
104317
104317
|
"creative-hub"
|
|
104318
104318
|
],
|
|
104319
|
-
"description": "Returns library and user avatars available for Creative Hub UGC generation flows.",
|
|
104319
|
+
"description": "Returns library and user avatars available for Creative Hub UGC generation flows. The estimated_credits field is the text-to-avatar cost only, kept for backward compatibility: price a specific mode with GET /creative-hub/avatars/estimate.",
|
|
104320
104320
|
"parameters": [
|
|
104321
104321
|
{
|
|
104322
104322
|
"schema": {
|
|
@@ -104991,6 +104991,137 @@
|
|
|
104991
104991
|
}
|
|
104992
104992
|
}
|
|
104993
104993
|
},
|
|
104994
|
+
"/api/v1/creative-hub/avatars/estimate": {
|
|
104995
|
+
"get": {
|
|
104996
|
+
"operationId": "creativeHubEstimateAvatar",
|
|
104997
|
+
"summary": "Estimate avatar creation credits",
|
|
104998
|
+
"tags": [
|
|
104999
|
+
"creative-hub",
|
|
105000
|
+
"creative-generation"
|
|
105001
|
+
],
|
|
105002
|
+
"description": "Returns the deterministic credit hold estimate for creating a custom avatar in the requested mode. text prices the photorealistic still generation; photo prices the re-host of the uploaded still. It is the same amount POST /creative-hub/avatars holds and the generation worker settles.",
|
|
105003
|
+
"parameters": [
|
|
105004
|
+
{
|
|
105005
|
+
"schema": {
|
|
105006
|
+
"anyOf": [
|
|
105007
|
+
{
|
|
105008
|
+
"type": "string",
|
|
105009
|
+
"enum": [
|
|
105010
|
+
"text"
|
|
105011
|
+
]
|
|
105012
|
+
},
|
|
105013
|
+
{
|
|
105014
|
+
"type": "string",
|
|
105015
|
+
"enum": [
|
|
105016
|
+
"photo"
|
|
105017
|
+
]
|
|
105018
|
+
}
|
|
105019
|
+
]
|
|
105020
|
+
},
|
|
105021
|
+
"in": "query",
|
|
105022
|
+
"name": "mode",
|
|
105023
|
+
"required": true
|
|
105024
|
+
}
|
|
105025
|
+
],
|
|
105026
|
+
"security": [
|
|
105027
|
+
{
|
|
105028
|
+
"bearerAuth": []
|
|
105029
|
+
},
|
|
105030
|
+
{
|
|
105031
|
+
"apiKeyAuth": []
|
|
105032
|
+
}
|
|
105033
|
+
],
|
|
105034
|
+
"responses": {
|
|
105035
|
+
"200": {
|
|
105036
|
+
"description": "Successful response",
|
|
105037
|
+
"content": {
|
|
105038
|
+
"application/json": {
|
|
105039
|
+
"schema": {
|
|
105040
|
+
"additionalProperties": false,
|
|
105041
|
+
"type": "object",
|
|
105042
|
+
"required": [
|
|
105043
|
+
"mode",
|
|
105044
|
+
"estimated_credits"
|
|
105045
|
+
],
|
|
105046
|
+
"properties": {
|
|
105047
|
+
"mode": {
|
|
105048
|
+
"anyOf": [
|
|
105049
|
+
{
|
|
105050
|
+
"type": "string",
|
|
105051
|
+
"enum": [
|
|
105052
|
+
"text"
|
|
105053
|
+
]
|
|
105054
|
+
},
|
|
105055
|
+
{
|
|
105056
|
+
"type": "string",
|
|
105057
|
+
"enum": [
|
|
105058
|
+
"photo"
|
|
105059
|
+
]
|
|
105060
|
+
}
|
|
105061
|
+
]
|
|
105062
|
+
},
|
|
105063
|
+
"estimated_credits": {
|
|
105064
|
+
"minimum": 0,
|
|
105065
|
+
"type": "integer"
|
|
105066
|
+
}
|
|
105067
|
+
}
|
|
105068
|
+
}
|
|
105069
|
+
}
|
|
105070
|
+
}
|
|
105071
|
+
},
|
|
105072
|
+
"400": {
|
|
105073
|
+
"description": "Invalid request - schema validation failed",
|
|
105074
|
+
"content": {
|
|
105075
|
+
"application/json": {
|
|
105076
|
+
"schema": {
|
|
105077
|
+
"additionalProperties": false,
|
|
105078
|
+
"type": "object",
|
|
105079
|
+
"required": [
|
|
105080
|
+
"error"
|
|
105081
|
+
],
|
|
105082
|
+
"properties": {
|
|
105083
|
+
"code": {
|
|
105084
|
+
"type": "string"
|
|
105085
|
+
},
|
|
105086
|
+
"error": {
|
|
105087
|
+
"type": "string"
|
|
105088
|
+
},
|
|
105089
|
+
"message": {
|
|
105090
|
+
"type": "string"
|
|
105091
|
+
}
|
|
105092
|
+
}
|
|
105093
|
+
}
|
|
105094
|
+
}
|
|
105095
|
+
}
|
|
105096
|
+
},
|
|
105097
|
+
"401": {
|
|
105098
|
+
"description": "Unauthorized - missing or invalid bearer token",
|
|
105099
|
+
"content": {
|
|
105100
|
+
"application/json": {
|
|
105101
|
+
"schema": {
|
|
105102
|
+
"additionalProperties": false,
|
|
105103
|
+
"type": "object",
|
|
105104
|
+
"required": [
|
|
105105
|
+
"error"
|
|
105106
|
+
],
|
|
105107
|
+
"properties": {
|
|
105108
|
+
"code": {
|
|
105109
|
+
"type": "string"
|
|
105110
|
+
},
|
|
105111
|
+
"error": {
|
|
105112
|
+
"type": "string"
|
|
105113
|
+
},
|
|
105114
|
+
"message": {
|
|
105115
|
+
"type": "string"
|
|
105116
|
+
}
|
|
105117
|
+
}
|
|
105118
|
+
}
|
|
105119
|
+
}
|
|
105120
|
+
}
|
|
105121
|
+
}
|
|
105122
|
+
}
|
|
105123
|
+
}
|
|
105124
|
+
},
|
|
104994
105125
|
"/api/v1/creative-hub/avatars/{id}": {
|
|
104995
105126
|
"patch": {
|
|
104996
105127
|
"operationId": "patchApiV1CreativeHubAvatarsById",
|
|
@@ -118747,8 +118878,17 @@
|
|
|
118747
118878
|
"creative-hub",
|
|
118748
118879
|
"creative-generation"
|
|
118749
118880
|
],
|
|
118750
|
-
"description": "Returns the credit estimate for burning subtitles into a video
|
|
118881
|
+
"description": "Returns the credit estimate for burning subtitles into a video (transcription is billed per second). Pass asset_id to price an uploaded team video asset: when that asset carries a recorded duration the estimate reads it, which is the same value the generation hold uses. Otherwise the estimate echoes the declared duration_seconds — asset_id never turns a successful estimate into an error.",
|
|
118751
118882
|
"parameters": [
|
|
118883
|
+
{
|
|
118884
|
+
"schema": {
|
|
118885
|
+
"format": "uuid",
|
|
118886
|
+
"type": "string"
|
|
118887
|
+
},
|
|
118888
|
+
"in": "query",
|
|
118889
|
+
"name": "asset_id",
|
|
118890
|
+
"required": false
|
|
118891
|
+
},
|
|
118752
118892
|
{
|
|
118753
118893
|
"schema": {
|
|
118754
118894
|
"minimum": 1,
|
|
@@ -179735,28 +179875,57 @@
|
|
|
179735
179875
|
}
|
|
179736
179876
|
},
|
|
179737
179877
|
"503": {
|
|
179738
|
-
"description": "
|
|
179878
|
+
"description": "Service unavailable",
|
|
179739
179879
|
"content": {
|
|
179740
179880
|
"application/json": {
|
|
179741
179881
|
"schema": {
|
|
179742
|
-
"
|
|
179743
|
-
|
|
179744
|
-
|
|
179745
|
-
|
|
179746
|
-
|
|
179747
|
-
|
|
179748
|
-
|
|
179749
|
-
|
|
179750
|
-
|
|
179751
|
-
"
|
|
179882
|
+
"anyOf": [
|
|
179883
|
+
{
|
|
179884
|
+
"additionalProperties": false,
|
|
179885
|
+
"description": "Scheduled reports are not enabled for this account.",
|
|
179886
|
+
"type": "object",
|
|
179887
|
+
"required": [
|
|
179888
|
+
"error",
|
|
179889
|
+
"code"
|
|
179890
|
+
],
|
|
179891
|
+
"properties": {
|
|
179892
|
+
"error": {
|
|
179893
|
+
"type": "string"
|
|
179894
|
+
},
|
|
179895
|
+
"code": {
|
|
179896
|
+
"type": "string",
|
|
179897
|
+
"enum": [
|
|
179898
|
+
"FEATURE_DISABLED"
|
|
179899
|
+
]
|
|
179900
|
+
}
|
|
179901
|
+
}
|
|
179752
179902
|
},
|
|
179753
|
-
|
|
179754
|
-
"
|
|
179755
|
-
"
|
|
179756
|
-
|
|
179757
|
-
|
|
179903
|
+
{
|
|
179904
|
+
"additionalProperties": false,
|
|
179905
|
+
"description": "The caller’s plan could not be verified. Retry.",
|
|
179906
|
+
"type": "object",
|
|
179907
|
+
"required": [
|
|
179908
|
+
"error",
|
|
179909
|
+
"code",
|
|
179910
|
+
"retry_after_seconds"
|
|
179911
|
+
],
|
|
179912
|
+
"properties": {
|
|
179913
|
+
"error": {
|
|
179914
|
+
"type": "string"
|
|
179915
|
+
},
|
|
179916
|
+
"code": {
|
|
179917
|
+
"type": "string",
|
|
179918
|
+
"enum": [
|
|
179919
|
+
"SCHEDULED_REPORT_PLAN_UNAVAILABLE"
|
|
179920
|
+
]
|
|
179921
|
+
},
|
|
179922
|
+
"retry_after_seconds": {
|
|
179923
|
+
"minimum": 1,
|
|
179924
|
+
"type": "integer"
|
|
179925
|
+
}
|
|
179926
|
+
}
|
|
179758
179927
|
}
|
|
179759
|
-
|
|
179928
|
+
]
|
|
179760
179929
|
}
|
|
179761
179930
|
}
|
|
179762
179931
|
}
|
|
@@ -180671,28 +180840,57 @@
|
|
|
180671
180840
|
}
|
|
180672
180841
|
},
|
|
180673
180842
|
"503": {
|
|
180674
|
-
"description": "
|
|
180843
|
+
"description": "Service unavailable",
|
|
180675
180844
|
"content": {
|
|
180676
180845
|
"application/json": {
|
|
180677
180846
|
"schema": {
|
|
180678
|
-
"
|
|
180679
|
-
|
|
180680
|
-
|
|
180681
|
-
|
|
180682
|
-
|
|
180683
|
-
|
|
180684
|
-
|
|
180685
|
-
|
|
180686
|
-
|
|
180687
|
-
"
|
|
180847
|
+
"anyOf": [
|
|
180848
|
+
{
|
|
180849
|
+
"additionalProperties": false,
|
|
180850
|
+
"description": "Scheduled reports are not enabled for this account.",
|
|
180851
|
+
"type": "object",
|
|
180852
|
+
"required": [
|
|
180853
|
+
"error",
|
|
180854
|
+
"code"
|
|
180855
|
+
],
|
|
180856
|
+
"properties": {
|
|
180857
|
+
"error": {
|
|
180858
|
+
"type": "string"
|
|
180859
|
+
},
|
|
180860
|
+
"code": {
|
|
180861
|
+
"type": "string",
|
|
180862
|
+
"enum": [
|
|
180863
|
+
"FEATURE_DISABLED"
|
|
180864
|
+
]
|
|
180865
|
+
}
|
|
180866
|
+
}
|
|
180688
180867
|
},
|
|
180689
|
-
|
|
180690
|
-
"
|
|
180691
|
-
"
|
|
180692
|
-
|
|
180693
|
-
|
|
180868
|
+
{
|
|
180869
|
+
"additionalProperties": false,
|
|
180870
|
+
"description": "The caller’s plan could not be verified. Retry.",
|
|
180871
|
+
"type": "object",
|
|
180872
|
+
"required": [
|
|
180873
|
+
"error",
|
|
180874
|
+
"code",
|
|
180875
|
+
"retry_after_seconds"
|
|
180876
|
+
],
|
|
180877
|
+
"properties": {
|
|
180878
|
+
"error": {
|
|
180879
|
+
"type": "string"
|
|
180880
|
+
},
|
|
180881
|
+
"code": {
|
|
180882
|
+
"type": "string",
|
|
180883
|
+
"enum": [
|
|
180884
|
+
"SCHEDULED_REPORT_PLAN_UNAVAILABLE"
|
|
180885
|
+
]
|
|
180886
|
+
},
|
|
180887
|
+
"retry_after_seconds": {
|
|
180888
|
+
"minimum": 1,
|
|
180889
|
+
"type": "integer"
|
|
180890
|
+
}
|
|
180891
|
+
}
|
|
180694
180892
|
}
|
|
180695
|
-
|
|
180893
|
+
]
|
|
180696
180894
|
}
|
|
180697
180895
|
}
|
|
180698
180896
|
}
|