@shotstack/schemas 1.21.1 → 1.23.0

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.
@@ -801,7 +801,7 @@
801
801
  }
802
802
  }
803
803
  },
804
- "description": "Generate a single image, video or audio asset from a text prompt without\nrendering a full edit. Submit a prompt-bearing asset; the response is\nimmediate when an identical asset has been generated before (results are\ncached by prompt, model and options), otherwise the job is queued and can\nbe polled via the status endpoint.\n\nGeneration is billed in credits per asset. Identical repeat requests\nresolve from the cache at no charge.\n\n**Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>\n",
804
+ "description": "Generate a single image, video or audio asset from a prompt or, for some models, a source file, without\nrendering a full edit. Submit an asset with a prompt or source file; the response is\nimmediate when an identical asset has been generated before (results are\ncached by prompt, model and options), otherwise the job is queued and can\nbe polled via the status endpoint.\n\nGeneration is billed in credits per asset. Identical repeat requests\nresolve from the cache at no charge.\n\n**Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>\n",
805
805
  "summary": "Generate Asset",
806
806
  "operationId": "postGenerate",
807
807
  "parameters": [
@@ -828,26 +828,67 @@
828
828
  }
829
829
  },
830
830
  "schema": {
831
- "type": "object",
832
- "properties": {
833
- "asset": {
834
- "$ref": "#/components/schemas/GenerationAsset"
835
- },
836
- "length": {
837
- "description": "The length, in seconds, of the clip the asset fills. A model that generates to a duration takes it from this value in place of its own duration option. Other models ignore it.",
838
- "type": "number",
839
- "minimum": 0,
840
- "exclusiveMinimum": true,
841
- "example": 5
842
- }
843
- },
844
- "required": [
845
- "asset"
846
- ]
831
+ "$ref": "#/components/schemas/GenerationRequest"
832
+ }
833
+ }
834
+ }
835
+ },
836
+ "security": [
837
+ {
838
+ "DeveloperKey": []
839
+ }
840
+ ],
841
+ "tags": [
842
+ "Edit"
843
+ ]
844
+ }
845
+ },
846
+ "/generate/quote": {
847
+ "post": {
848
+ "summary": "Quote Generation",
849
+ "operationId": "postGenerateQuote",
850
+ "description": "Estimate credits for the same asset and clip length accepted by `POST /generate`.\nRequires an API key and the same model access as generation. Invalid options and\ndisallowed source URLs are rejected. No provider request, job, quota usage or credit\nreservation is created. A quote does not guarantee an available balance or quota.\n\nPrices are evaluated at request time. Request another quote when settings change;\ngeneration uses the current price when submitted.\n\n**Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>\n",
851
+ "requestBody": {
852
+ "required": true,
853
+ "content": {
854
+ "application/json": {
855
+ "example": {
856
+ "asset": {
857
+ "type": "image",
858
+ "prompt": "A lighthouse on a rocky coast at sunset, cinematic lighting",
859
+ "model": "nano-banana-2"
860
+ }
861
+ },
862
+ "schema": {
863
+ "$ref": "#/components/schemas/GenerationRequest"
847
864
  }
848
865
  }
849
866
  }
850
867
  },
868
+ "responses": {
869
+ "200": {
870
+ "description": "The generation credit estimate.",
871
+ "content": {
872
+ "application/json": {
873
+ "schema": {
874
+ "$ref": "#/components/schemas/GenerationQuote"
875
+ }
876
+ }
877
+ }
878
+ },
879
+ "400": {
880
+ "$ref": "#/paths/~1generate/post/responses/400"
881
+ },
882
+ "401": {
883
+ "description": "An API key is required."
884
+ },
885
+ "403": {
886
+ "$ref": "#/paths/~1generate/post/responses/403"
887
+ },
888
+ "503": {
889
+ "$ref": "#/paths/~1generate/post/responses/503"
890
+ }
891
+ },
851
892
  "security": [
852
893
  {
853
894
  "DeveloperKey": []
@@ -926,7 +967,7 @@
926
967
  },
927
968
  "/models": {
928
969
  "get": {
929
- "description": "List the generation models available for `prompt`-bearing image, video and audio\nassets, with the options each accepts and what it costs in credits.\n\nUse this to populate a model picker and render its option fields, rather than\nhard coding a model list. A newly launched model appears here without any change\non your side. Each entry carries the asset type it generates, so filter the list\nclient side when a picker only needs one kind.\n\nOption schemas are omitted by default. Request them with `expand=options`.\n\nEach model's `available` reflects the plan of the account behind the calling API\nkey, so offer only the models it marks available.\n\n**Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>\n",
970
+ "description": "List the generation models available for `prompt`-bearing image, video and audio\nassets generated from a prompt or, for some models, a source file, with the options each accepts. Use `POST /generate/quote` for a credit estimate.\n\nUse this to populate a model picker and render its option fields, rather than\nhard coding a model list. A newly launched model appears here without any change\non your side. Each entry carries the asset type it generates, so filter the list\nclient side when a picker only needs one kind.\n\nOption schemas are omitted by default. Request them with `expand=options`.\n\nEach model's `available` reflects the plan of the account behind the calling API\nkey, so offer only the models it marks available.\n\n**Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>\n",
930
971
  "summary": "List Generation Models",
931
972
  "operationId": "getModels",
932
973
  "responses": {
@@ -968,7 +1009,7 @@
968
1009
  },
969
1010
  "/models/{id}": {
970
1011
  "get": {
971
- "description": "Get one generation model, including the JSON Schema for the options it accepts and\nwhat it costs in credits.\n\n**Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>\n",
1012
+ "description": "Get one generation model, including the JSON Schema for the options it accepts.\nUse `POST /generate/quote` for a credit estimate.\n\n**Base URL:** <a href=\"#\">https://api.shotstack.io/edit/{version}</a>\n",
972
1013
  "summary": "Get Generation Model",
973
1014
  "operationId": "getModel",
974
1015
  "responses": {
@@ -5103,7 +5144,7 @@
5103
5144
  "type": "object"
5104
5145
  },
5105
5146
  "GenerationAsset": {
5106
- "description": "An image, video or audio asset to generate from a text prompt.",
5147
+ "description": "An asset to generate, from a text `prompt` or, for models that take one, a source `src`.",
5107
5148
  "type": "object",
5108
5149
  "properties": {
5109
5150
  "type": {
@@ -5124,6 +5165,11 @@
5124
5165
  "pattern": "\\S",
5125
5166
  "example": "A lighthouse on a rocky coast at sunset, cinematic lighting"
5126
5167
  },
5168
+ "src": {
5169
+ "description": "The source file for models that take one instead of a prompt, such as `shotstack-music-analysis`. A public HTTPS URL.",
5170
+ "type": "string",
5171
+ "format": "uri"
5172
+ },
5127
5173
  "model": {
5128
5174
  "description": "The generation model. Defaults to `nano-banana-2` for images, `seedance-2.0-text-to-video` for video and `elevenlabs-multilingual-v2` for audio. `GET /models` lists the models for each type.",
5129
5175
  "type": "string",
@@ -5140,12 +5186,11 @@
5140
5186
  },
5141
5187
  "additionalProperties": false,
5142
5188
  "required": [
5143
- "type",
5144
- "prompt"
5189
+ "type"
5145
5190
  ]
5146
5191
  },
5147
5192
  "GenerationModel": {
5148
- "description": "A generation model available to `prompt`-bearing image, video and audio assets, with the options it accepts and what it costs. Render a model picker and its option fields from this rather than hard coding a model list, so a newly launched model is available without a client release.",
5193
+ "description": "A generation model available to image, video and audio assets generated from a prompt or, for some models, a source file, with the options it accepts. Use `POST /generate/quote` for a credit estimate. Render a model picker and its option fields from this rather than hard coding a model list, so a newly launched model is available without a client release.",
5149
5194
  "properties": {
5150
5195
  "model": {
5151
5196
  "description": "The identifier to set as the asset `model`. Carries no provider name, so routing can change without a public rename.",
@@ -5172,10 +5217,6 @@
5172
5217
  "type": "string",
5173
5218
  "example": "Generate cinematic video with realistic motion, prompt-directed camera movement and optional synchronised audio."
5174
5219
  },
5175
- "pricing": {
5176
- "description": "What one generation with this model costs.",
5177
- "$ref": "#/components/schemas/GenerationModelPricing"
5178
- },
5179
5220
  "options": {
5180
5221
  "description": "JSON Schema for the model's `options` object. Only returned for a single model, or for a list requested with `expand=options`. Values outside this schema are rejected.",
5181
5222
  "type": "object",
@@ -5203,104 +5244,44 @@
5203
5244
  ],
5204
5245
  "type": "object"
5205
5246
  },
5206
- "GenerationModelPricing": {
5207
- "description": "What one generation costs, in credits: the rate multiplied by the units consumed. `quantity` says how to count the units, and is absent when one generation is one unit. Where a model charges differently per option value, `credits` is an object keyed by that value and `tieredBy` names the option that selects it.",
5247
+ "GenerationRequest": {
5248
+ "type": "object",
5208
5249
  "properties": {
5209
- "credits": {
5210
- "description": "Credits per unit. A number when the rate is flat, or an object keyed by the values of the option named in `tieredBy`.",
5211
- "oneOf": [
5212
- {
5213
- "type": "number"
5214
- },
5215
- {
5216
- "type": "object",
5217
- "additionalProperties": {
5218
- "type": "number"
5219
- }
5220
- }
5221
- ],
5222
- "example": {
5223
- "480p": 0.9375,
5224
- "720p": 1.8962,
5225
- "1080p": 4.2625
5226
- }
5227
- },
5228
- "tieredBy": {
5229
- "description": "The option whose value selects the rate, and the value assumed when the option is absent. Present only when `credits` is keyed.",
5230
- "type": "object",
5231
- "properties": {
5232
- "option": {
5233
- "type": "string",
5234
- "example": "resolution"
5235
- },
5236
- "default": {
5237
- "type": "string",
5238
- "example": "720p"
5239
- }
5240
- },
5241
- "required": [
5242
- "option",
5243
- "default"
5244
- ]
5250
+ "asset": {
5251
+ "$ref": "#/components/schemas/GenerationAsset"
5245
5252
  },
5246
- "quantity": {
5247
- "description": "How many units a generation consumes. Take the value `measure` names, or `default` when the request carries none, hold it within `min` and `max`, divide by `per`, and round up when `round` is `up`. Absent when one generation is one unit.",
5248
- "type": "object",
5249
- "properties": {
5250
- "measure": {
5251
- "description": "What the count is taken from, and the scale it is measured in.",
5252
- "type": "string",
5253
- "enum": [
5254
- "clipSeconds",
5255
- "promptCharacters"
5256
- ],
5257
- "example": "clipSeconds"
5258
- },
5259
- "per": {
5260
- "description": "How many of `measure` make one billable unit.",
5261
- "type": "number",
5262
- "example": 60
5263
- },
5264
- "min": {
5265
- "description": "Fewest accepted. A smaller request is charged at this.",
5266
- "type": "number",
5267
- "example": 3
5268
- },
5269
- "max": {
5270
- "description": "Most accepted. A larger request is charged at this.",
5271
- "type": "number",
5272
- "example": 600
5273
- },
5274
- "default": {
5275
- "description": "Assumed when the request carries no value.",
5276
- "type": "number",
5277
- "example": 30
5278
- },
5279
- "round": {
5280
- "description": "Present when a partial unit is charged as a whole one. A 61 second track on a per-minute rate is charged as two minutes.",
5281
- "type": "string",
5282
- "enum": [
5283
- "up"
5284
- ],
5285
- "example": "up"
5286
- }
5287
- },
5288
- "required": [
5289
- "measure",
5290
- "per"
5291
- ]
5253
+ "length": {
5254
+ "description": "The length, in seconds, of the clip the asset fills. A model that generates to a duration takes it from this value in place of its own duration option. Other models ignore it.",
5255
+ "type": "number",
5256
+ "minimum": 0,
5257
+ "exclusiveMinimum": true,
5258
+ "example": 5
5259
+ }
5260
+ },
5261
+ "required": [
5262
+ "asset"
5263
+ ]
5264
+ },
5265
+ "GenerationQuote": {
5266
+ "type": "object",
5267
+ "description": "Current credit estimate for a generation, calculated with the same rules as submission. Does not reserve credits or lock a price. A cached result costs nothing; final duration-based charges can be lower. Submit the same asset and length to generate it.",
5268
+ "properties": {
5269
+ "credits": {
5270
+ "type": "number",
5271
+ "minimum": 0,
5272
+ "description": "Estimated generation credits, rounded to four decimal places.",
5273
+ "example": 0.6038
5292
5274
  },
5293
- "effectiveFrom": {
5294
- "description": "The date this rate took effect, or `legacy` for a rate that predates dated pricing.",
5295
- "type": "string",
5296
- "example": "2026-08-13"
5275
+ "ceiling": {
5276
+ "type": "boolean",
5277
+ "description": "True when an unresolved duration uses the model's reservation allowance.",
5278
+ "example": false
5297
5279
  }
5298
5280
  },
5299
5281
  "required": [
5300
5282
  "credits",
5301
- "effectiveFrom"
5302
- ],
5303
- "type": "object"
5283
+ "ceiling"
5284
+ ]
5304
5285
  },
5305
5286
  "GenerationModelListResponse": {
5306
5287
  "description": "The generation models available to this account.",
package/dist/schema.d.ts CHANGED
@@ -202,8 +202,8 @@ export interface paths {
202
202
  put?: never;
203
203
  /**
204
204
  * Generate Asset
205
- * @description Generate a single image, video or audio asset from a text prompt without
206
- * rendering a full edit. Submit a prompt-bearing asset; the response is
205
+ * @description Generate a single image, video or audio asset from a prompt or, for some models, a source file, without
206
+ * rendering a full edit. Submit an asset with a prompt or source file; the response is
207
207
  * immediate when an identical asset has been generated before (results are
208
208
  * cached by prompt, model and options), otherwise the job is queued and can
209
209
  * be polled via the status endpoint.
@@ -220,6 +220,34 @@ export interface paths {
220
220
  patch?: never;
221
221
  trace?: never;
222
222
  };
223
+ "/generate/quote": {
224
+ parameters: {
225
+ query?: never;
226
+ header?: never;
227
+ path?: never;
228
+ cookie?: never;
229
+ };
230
+ get?: never;
231
+ put?: never;
232
+ /**
233
+ * Quote Generation
234
+ * @description Estimate credits for the same asset and clip length accepted by `POST /generate`.
235
+ * Requires an API key and the same model access as generation. Invalid options and
236
+ * disallowed source URLs are rejected. No provider request, job, quota usage or credit
237
+ * reservation is created. A quote does not guarantee an available balance or quota.
238
+ *
239
+ * Prices are evaluated at request time. Request another quote when settings change;
240
+ * generation uses the current price when submitted.
241
+ *
242
+ * **Base URL:** <a href="#">https://api.shotstack.io/edit/{version}</a>
243
+ */
244
+ post: operations["postGenerateQuote"];
245
+ delete?: never;
246
+ options?: never;
247
+ head?: never;
248
+ patch?: never;
249
+ trace?: never;
250
+ };
223
251
  "/generate/{id}": {
224
252
  parameters: {
225
253
  query?: never;
@@ -262,7 +290,7 @@ export interface paths {
262
290
  /**
263
291
  * List Generation Models
264
292
  * @description List the generation models available for `prompt`-bearing image, video and audio
265
- * assets, with the options each accepts and what it costs in credits.
293
+ * assets generated from a prompt or, for some models, a source file, with the options each accepts. Use `POST /generate/quote` for a credit estimate.
266
294
  *
267
295
  * Use this to populate a model picker and render its option fields, rather than
268
296
  * hard coding a model list. A newly launched model appears here without any change
@@ -300,8 +328,8 @@ export interface paths {
300
328
  };
301
329
  /**
302
330
  * Get Generation Model
303
- * @description Get one generation model, including the JSON Schema for the options it accepts and
304
- * what it costs in credits.
331
+ * @description Get one generation model, including the JSON Schema for the options it accepts.
332
+ * Use `POST /generate/quote` for a credit estimate.
305
333
  *
306
334
  * **Base URL:** <a href="#">https://api.shotstack.io/edit/{version}</a>
307
335
  */
@@ -2972,7 +3000,7 @@ export interface components {
2972
3000
  /** @description Specify the storage locations and hosting services to send the file to. */
2973
3001
  destinations: components["schemas"]["Destinations"][];
2974
3002
  };
2975
- /** @description An image, video or audio asset to generate from a text prompt. */
3003
+ /** @description An asset to generate, from a text `prompt` or, for models that take one, a source `src`. */
2976
3004
  GenerationAsset: {
2977
3005
  /**
2978
3006
  * @description The kind of asset to generate.
@@ -2984,7 +3012,12 @@ export interface components {
2984
3012
  * @description A description of the asset to generate. For text-to-speech models it is the text spoken.
2985
3013
  * @example A lighthouse on a rocky coast at sunset, cinematic lighting
2986
3014
  */
2987
- prompt: string;
3015
+ prompt?: string;
3016
+ /**
3017
+ * Format: uri
3018
+ * @description The source file for models that take one instead of a prompt, such as `shotstack-music-analysis`. A public HTTPS URL.
3019
+ */
3020
+ src?: string;
2988
3021
  /**
2989
3022
  * @description The generation model. Defaults to `nano-banana-2` for images, `seedance-2.0-text-to-video` for video and `elevenlabs-multilingual-v2` for audio. `GET /models` lists the models for each type.
2990
3023
  * @example nano-banana-2
@@ -3000,7 +3033,7 @@ export interface components {
3000
3033
  [key: string]: unknown;
3001
3034
  };
3002
3035
  };
3003
- /** @description A generation model available to `prompt`-bearing image, video and audio assets, with the options it accepts and what it costs. Render a model picker and its option fields from this rather than hard coding a model list, so a newly launched model is available without a client release. */
3036
+ /** @description A generation model available to image, video and audio assets generated from a prompt or, for some models, a source file, with the options it accepts. Use `POST /generate/quote` for a credit estimate. Render a model picker and its option fields from this rather than hard coding a model list, so a newly launched model is available without a client release. */
3004
3037
  GenerationModel: {
3005
3038
  /**
3006
3039
  * @description The identifier to set as the asset `model`. Carries no provider name, so routing can change without a public rename.
@@ -3023,8 +3056,6 @@ export interface components {
3023
3056
  * @example Generate cinematic video with realistic motion, prompt-directed camera movement and optional synchronised audio.
3024
3057
  */
3025
3058
  description?: string;
3026
- /** @description What one generation with this model costs. */
3027
- pricing?: components["schemas"]["GenerationModelPricing"];
3028
3059
  /** @description JSON Schema for the model's `options` object. Only returned for a single model, or for a list requested with `expand=options`. Values outside this schema are rejected. */
3029
3060
  options?: {
3030
3061
  [key: string]: unknown;
@@ -3041,66 +3072,26 @@ export interface components {
3041
3072
  */
3042
3073
  unavailableReason?: "AiCapabilityNotIncluded" | "AiDisabled" | "AiAccessUnavailable";
3043
3074
  };
3044
- /** @description What one generation costs, in credits: the rate multiplied by the units consumed. `quantity` says how to count the units, and is absent when one generation is one unit. Where a model charges differently per option value, `credits` is an object keyed by that value and `tieredBy` names the option that selects it. */
3045
- GenerationModelPricing: {
3075
+ GenerationRequest: {
3076
+ asset: components["schemas"]["GenerationAsset"];
3046
3077
  /**
3047
- * @description Credits per unit. A number when the rate is flat, or an object keyed by the values of the option named in `tieredBy`.
3048
- * @example {
3049
- * "480p": 0.9375,
3050
- * "720p": 1.8962,
3051
- * "1080p": 4.2625
3052
- * }
3078
+ * @description The length, in seconds, of the clip the asset fills. A model that generates to a duration takes it from this value in place of its own duration option. Other models ignore it.
3079
+ * @example 5
3053
3080
  */
3054
- credits: number | {
3055
- [key: string]: number;
3056
- };
3057
- /** @description The option whose value selects the rate, and the value assumed when the option is absent. Present only when `credits` is keyed. */
3058
- tieredBy?: {
3059
- /** @example resolution */
3060
- option: string;
3061
- /** @example 720p */
3062
- default: string;
3063
- };
3064
- /** @description How many units a generation consumes. Take the value `measure` names, or `default` when the request carries none, hold it within `min` and `max`, divide by `per`, and round up when `round` is `up`. Absent when one generation is one unit. */
3065
- quantity?: {
3066
- /**
3067
- * @description What the count is taken from, and the scale it is measured in.
3068
- * @example clipSeconds
3069
- * @enum {string}
3070
- */
3071
- measure: "clipSeconds" | "promptCharacters";
3072
- /**
3073
- * @description How many of `measure` make one billable unit.
3074
- * @example 60
3075
- */
3076
- per: number;
3077
- /**
3078
- * @description Fewest accepted. A smaller request is charged at this.
3079
- * @example 3
3080
- */
3081
- min?: number;
3082
- /**
3083
- * @description Most accepted. A larger request is charged at this.
3084
- * @example 600
3085
- */
3086
- max?: number;
3087
- /**
3088
- * @description Assumed when the request carries no value.
3089
- * @example 30
3090
- */
3091
- default?: number;
3092
- /**
3093
- * @description Present when a partial unit is charged as a whole one. A 61 second track on a per-minute rate is charged as two minutes.
3094
- * @example up
3095
- * @enum {string}
3096
- */
3097
- round?: "up";
3098
- };
3081
+ length?: number;
3082
+ };
3083
+ /** @description Current credit estimate for a generation, calculated with the same rules as submission. Does not reserve credits or lock a price. A cached result costs nothing; final duration-based charges can be lower. Submit the same asset and length to generate it. */
3084
+ GenerationQuote: {
3099
3085
  /**
3100
- * @description The date this rate took effect, or `legacy` for a rate that predates dated pricing.
3101
- * @example 2026-08-13
3086
+ * @description Estimated generation credits, rounded to four decimal places.
3087
+ * @example 0.6038
3088
+ */
3089
+ credits: number;
3090
+ /**
3091
+ * @description True when an unresolved duration uses the model's reservation allowance.
3092
+ * @example false
3102
3093
  */
3103
- effectiveFrom: string;
3094
+ ceiling: boolean;
3104
3095
  };
3105
3096
  /** @description The generation models available to this account. */
3106
3097
  GenerationModelListResponse: {
@@ -4427,14 +4418,7 @@ export interface operations {
4427
4418
  * }
4428
4419
  * }
4429
4420
  */
4430
- "application/json": {
4431
- asset: components["schemas"]["GenerationAsset"];
4432
- /**
4433
- * @description The length, in seconds, of the clip the asset fills. A model that generates to a duration takes it from this value in place of its own duration option. Other models ignore it.
4434
- * @example 5
4435
- */
4436
- length?: number;
4437
- };
4421
+ "application/json": components["schemas"]["GenerationRequest"];
4438
4422
  };
4439
4423
  };
4440
4424
  responses: {
@@ -4518,6 +4502,49 @@ export interface operations {
4518
4502
  };
4519
4503
  };
4520
4504
  };
4505
+ postGenerateQuote: {
4506
+ parameters: {
4507
+ query?: never;
4508
+ header?: never;
4509
+ path?: never;
4510
+ cookie?: never;
4511
+ };
4512
+ requestBody: {
4513
+ content: {
4514
+ /**
4515
+ * @example {
4516
+ * "asset": {
4517
+ * "type": "image",
4518
+ * "prompt": "A lighthouse on a rocky coast at sunset, cinematic lighting",
4519
+ * "model": "nano-banana-2"
4520
+ * }
4521
+ * }
4522
+ */
4523
+ "application/json": components["schemas"]["GenerationRequest"];
4524
+ };
4525
+ };
4526
+ responses: {
4527
+ /** @description The generation credit estimate. */
4528
+ 200: {
4529
+ headers: {
4530
+ [name: string]: unknown;
4531
+ };
4532
+ content: {
4533
+ "application/json": components["schemas"]["GenerationQuote"];
4534
+ };
4535
+ };
4536
+ 400: paths["/generate"]["post"]["responses"]["400"];
4537
+ /** @description An API key is required. */
4538
+ 401: {
4539
+ headers: {
4540
+ [name: string]: unknown;
4541
+ };
4542
+ content?: never;
4543
+ };
4544
+ 403: paths["/generate"]["post"]["responses"]["403"];
4545
+ 503: paths["/generate"]["post"]["responses"]["503"];
4546
+ };
4547
+ };
4521
4548
  getGenerate: {
4522
4549
  parameters: {
4523
4550
  query?: never;