mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-26 06:03:19 +00:00
chore(ui): sync generated API types for the images/variations routes
This commit is contained in:
parent
f328d32870
commit
48ba5d06a5
1 changed files with 192 additions and 0 deletions
192
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
192
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
|
|
@ -7869,6 +7869,30 @@ export interface paths {
|
|||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/images/variations": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
get?: never;
|
||||
put?: never;
|
||||
/**
|
||||
* Image Variation Api
|
||||
* @description Follows the OpenAI Images API spec: https://platform.openai.com/docs/api-reference/images/createVariation
|
||||
*
|
||||
* ```bash
|
||||
* curl -X POST "http://localhost:4000/v1/images/variations" -H "Authorization: Bearer $LITELLM_MASTER_KEY" -F "model=dall-e-2" -F "image=@image.png" -F "n=2"
|
||||
* ```
|
||||
*/
|
||||
post: operations["image_variation_api_images_variations_post"];
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/interactions": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
|
|
@ -10842,6 +10866,30 @@ export interface paths {
|
|||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/openai/deployments/{model}/images/variations": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
get?: never;
|
||||
put?: never;
|
||||
/**
|
||||
* Image Variation Api
|
||||
* @description Follows the OpenAI Images API spec: https://platform.openai.com/docs/api-reference/images/createVariation
|
||||
*
|
||||
* ```bash
|
||||
* curl -X POST "http://localhost:4000/v1/images/variations" -H "Authorization: Bearer $LITELLM_MASTER_KEY" -F "model=dall-e-2" -F "image=@image.png" -F "n=2"
|
||||
* ```
|
||||
*/
|
||||
post: operations["image_variation_api_openai_deployments__model__images_variations_post"];
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/openai/v1/live/sessions": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
|
|
@ -20355,6 +20403,30 @@ export interface paths {
|
|||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/v1/images/variations": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
get?: never;
|
||||
put?: never;
|
||||
/**
|
||||
* Image Variation Api
|
||||
* @description Follows the OpenAI Images API spec: https://platform.openai.com/docs/api-reference/images/createVariation
|
||||
*
|
||||
* ```bash
|
||||
* curl -X POST "http://localhost:4000/v1/images/variations" -H "Authorization: Bearer $LITELLM_MASTER_KEY" -F "model=dall-e-2" -F "image=@image.png" -F "n=2"
|
||||
* ```
|
||||
*/
|
||||
post: operations["image_variation_api_v1_images_variations_post"];
|
||||
delete?: never;
|
||||
options?: never;
|
||||
head?: never;
|
||||
patch?: never;
|
||||
trace?: never;
|
||||
};
|
||||
"/v1/indexes": {
|
||||
parameters: {
|
||||
query?: never;
|
||||
|
|
@ -27337,6 +27409,21 @@ export interface components {
|
|||
/** Mask[] */
|
||||
"mask[]"?: string[] | null;
|
||||
};
|
||||
/** Body_image_variation_api_images_variations_post */
|
||||
Body_image_variation_api_images_variations_post: {
|
||||
/** Image */
|
||||
image?: string[] | null;
|
||||
};
|
||||
/** Body_image_variation_api_openai_deployments__model__images_variations_post */
|
||||
Body_image_variation_api_openai_deployments__model__images_variations_post: {
|
||||
/** Image */
|
||||
image?: string[] | null;
|
||||
};
|
||||
/** Body_image_variation_api_v1_images_variations_post */
|
||||
Body_image_variation_api_v1_images_variations_post: {
|
||||
/** Image */
|
||||
image?: string[] | null;
|
||||
};
|
||||
/** Body_introspect_endpoint_introspect_post */
|
||||
Body_introspect_endpoint_introspect_post: {
|
||||
/** Token */
|
||||
|
|
@ -61409,6 +61496,41 @@ export interface operations {
|
|||
};
|
||||
};
|
||||
};
|
||||
image_variation_api_images_variations_post: {
|
||||
parameters: {
|
||||
query?: {
|
||||
model?: string | null;
|
||||
};
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: {
|
||||
content: {
|
||||
"multipart/form-data": components["schemas"]["Body_image_variation_api_images_variations_post"];
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": unknown;
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
create_interaction_interactions_post: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
|
|
@ -65664,6 +65786,41 @@ export interface operations {
|
|||
};
|
||||
};
|
||||
};
|
||||
image_variation_api_openai_deployments__model__images_variations_post: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
header?: never;
|
||||
path: {
|
||||
model: string | null;
|
||||
};
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: {
|
||||
content: {
|
||||
"multipart/form-data": components["schemas"]["Body_image_variation_api_openai_deployments__model__images_variations_post"];
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": unknown;
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
websocket_live_sessions_websocket_endpoint_get_3: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
|
|
@ -78006,6 +78163,41 @@ export interface operations {
|
|||
};
|
||||
};
|
||||
};
|
||||
image_variation_api_v1_images_variations_post: {
|
||||
parameters: {
|
||||
query?: {
|
||||
model?: string | null;
|
||||
};
|
||||
header?: never;
|
||||
path?: never;
|
||||
cookie?: never;
|
||||
};
|
||||
requestBody?: {
|
||||
content: {
|
||||
"multipart/form-data": components["schemas"]["Body_image_variation_api_v1_images_variations_post"];
|
||||
};
|
||||
};
|
||||
responses: {
|
||||
/** @description Successful Response */
|
||||
200: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": unknown;
|
||||
};
|
||||
};
|
||||
/** @description Validation Error */
|
||||
422: {
|
||||
headers: {
|
||||
[name: string]: unknown;
|
||||
};
|
||||
content: {
|
||||
"application/json": components["schemas"]["HTTPValidationError"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
index_list_v1_indexes_get: {
|
||||
parameters: {
|
||||
query?: never;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue