forked from gpt4free/g4f.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenapi.json
More file actions
1 lines (1 loc) · 41.4 KB
/
Copy pathopenapi.json
File metadata and controls
1 lines (1 loc) · 41.4 KB
1
{"openapi": "3.1.0", "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": {"/": {"get": {"summary": "Read Root", "operationId": "read_root__get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/v1": {"get": {"summary": "Read Root V1", "operationId": "read_root_v1_v1_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}}}}, "/v1/models": {"get": {"summary": "Models", "operationId": "models_v1_models_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ModelResponseModel"}, "type": "array", "title": "Response 200 Models V1 Models Get"}}}}}}}, "/api/{provider}/models": {"get": {"summary": "Models", "operationId": "models_api__provider__models_get", "security": [{"HTTPBearer": []}], "parameters": [{"name": "provider", "in": "path", "required": true, "schema": {"type": "string", "title": "Provider"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"type": "array", "items": {"$ref": "#/components/schemas/ModelResponseModel"}, "title": "Response 200 Models Api Provider Models Get"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/v1/models/{model_name}": {"get": {"summary": "Model Info", "operationId": "model_info_v1_models__model_name__get", "parameters": [{"name": "model_name", "in": "path", "required": true, "schema": {"type": "string", "title": "Model Name"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ModelResponseModel"}}}}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/v1/chat/completions": {"post": {"summary": "Chat Completions", "operationId": "chat_completions_v1_chat_completions_post", "security": [{"HTTPBearer": []}], "parameters": [{"name": "provider", "in": "query", "required": false, "schema": {"type": "string", "title": "Provider"}}, {"name": "conversation_id", "in": "query", "required": false, "schema": {"type": "string", "title": "Conversation Id"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ChatCompletionsConfig"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ChatCompletion"}}}}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unauthorized"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "422": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unprocessable Content"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Internal Server Error"}}}}, "/api/{provider}/chat/completions": {"post": {"summary": "Provider Chat Completions", "operationId": "provider_chat_completions_api__provider__chat_completions_post", "security": [{"HTTPBearer": []}], "parameters": [{"name": "provider", "in": "path", "required": true, "schema": {"type": "string", "title": "Provider"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ChatCompletionsConfig"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ChatCompletion"}}}}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unauthorized"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "422": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unprocessable Content"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Internal Server Error"}}}}, "/v1/responses": {"post": {"summary": "V1 Responses", "operationId": "v1_responses_v1_responses_post", "security": [{"HTTPBearer": []}], "parameters": [{"name": "provider", "in": "query", "required": false, "schema": {"type": "string", "title": "Provider"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ResponsesConfig"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ClientResponse"}}}}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unauthorized"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "422": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unprocessable Content"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Internal Server Error"}}}}, "/api/{provider}/responses": {"post": {"summary": "Provider Responses", "operationId": "provider_responses_api__provider__responses_post", "security": [{"HTTPBearer": []}], "parameters": [{"name": "provider", "in": "path", "required": true, "schema": {"type": "string", "title": "Provider"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ChatCompletionsConfig"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ClientResponse"}}}}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unauthorized"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "422": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unprocessable Content"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Internal Server Error"}}}}, "/api/{provider}/{conversation_id}/chat/completions": {"post": {"summary": "Provider Chat Completions", "operationId": "provider_chat_completions_api__provider___conversation_id__chat_completions_post", "security": [{"HTTPBearer": []}], "parameters": [{"name": "provider", "in": "path", "required": true, "schema": {"type": "string", "title": "Provider"}}, {"name": "conversation_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Conversation Id"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ChatCompletionsConfig"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ClientResponse"}}}}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unauthorized"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "422": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unprocessable Content"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Internal Server Error"}}}}, "/api/{provider}/images/generations": {"post": {"summary": "Generate Image", "operationId": "generate_image_api__provider__images_generations_post", "security": [{"HTTPBearer": []}], "parameters": [{"name": "provider", "in": "path", "required": true, "schema": {"type": "string", "title": "Provider"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ImageGenerationConfig"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ImagesResponse"}}}}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unauthorized"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Internal Server Error"}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/v1/images/generations": {"post": {"summary": "Generate Image", "operationId": "generate_image_v1_images_generations_post", "security": [{"HTTPBearer": []}], "parameters": [{"name": "provider", "in": "query", "required": false, "schema": {"type": "string", "title": "Provider"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ImageGenerationConfig"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ImagesResponse"}}}}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unauthorized"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Internal Server Error"}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/v1/images/generate": {"post": {"summary": "Generate Image", "operationId": "generate_image_v1_images_generate_post", "security": [{"HTTPBearer": []}], "parameters": [{"name": "provider", "in": "query", "required": false, "schema": {"type": "string", "title": "Provider"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ImageGenerationConfig"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ImagesResponse"}}}}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unauthorized"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Internal Server Error"}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/v1/media/generate": {"post": {"summary": "Generate Image", "operationId": "generate_image_v1_media_generate_post", "security": [{"HTTPBearer": []}], "parameters": [{"name": "provider", "in": "query", "required": false, "schema": {"type": "string", "title": "Provider"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ImageGenerationConfig"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ImagesResponse"}}}}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unauthorized"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Internal Server Error"}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/v1/providers": {"get": {"summary": "Providers", "operationId": "providers_v1_providers_get", "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/ProviderResponseModel"}, "type": "array", "title": "Response 200 Providers V1 Providers Get"}}}}}}}, "/v1/providers/{provider}": {"get": {"summary": "Providers Info", "operationId": "providers_info_v1_providers__provider__get", "parameters": [{"name": "provider", "in": "path", "required": true, "schema": {"type": "string", "title": "Provider"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ProviderResponseDetailModel"}}}}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/{path_provider}/audio/transcriptions": {"post": {"summary": "Convert", "operationId": "convert_api__path_provider__audio_transcriptions_post", "parameters": [{"name": "path_provider", "in": "path", "required": true, "schema": {"type": "string", "title": "Path Provider"}}], "requestBody": {"required": true, "content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/Body_convert_api__path_provider__audio_transcriptions_post"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TranscriptionResponseModel"}}}}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unauthorized"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Internal Server Error"}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/v1/audio/transcriptions": {"post": {"summary": "Convert", "operationId": "convert_v1_audio_transcriptions_post", "parameters": [{"name": "path_provider", "in": "query", "required": false, "schema": {"type": "string", "title": "Path Provider"}}], "requestBody": {"required": true, "content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/Body_convert_v1_audio_transcriptions_post"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TranscriptionResponseModel"}}}}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unauthorized"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Internal Server Error"}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/markitdown": {"post": {"summary": "Markitdown", "operationId": "markitdown_api_markitdown_post", "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/Body_markitdown_api_markitdown_post"}}}, "required": true}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/TranscriptionResponseModel"}}}}, "401": {"description": "Unauthorized", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}}, "404": {"description": "Not Found", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}}, "500": {"description": "Internal Server Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/api/{path_provider}/audio/speech": {"post": {"summary": "Generate Speech", "operationId": "generate_speech_api__path_provider__audio_speech_post", "security": [{"HTTPBearer": []}], "parameters": [{"name": "provider", "in": "query", "required": false, "schema": {"type": "string", "title": "Provider"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AudioSpeechConfig"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}, "audio/*": {}}}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unauthorized"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Internal Server Error"}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/v1/audio/speech": {"post": {"summary": "Generate Speech", "operationId": "generate_speech_v1_audio_speech_post", "security": [{"HTTPBearer": []}], "parameters": [{"name": "provider", "in": "query", "required": false, "schema": {"type": "string", "title": "Provider"}}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"$ref": "#/components/schemas/AudioSpeechConfig"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}, "audio/*": {}}}, "401": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unauthorized"}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "500": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Internal Server Error"}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/v1/upload_cookies": {"post": {"summary": "Upload Cookies", "operationId": "upload_cookies_v1_upload_cookies_post", "requestBody": {"content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/Body_upload_cookies_v1_upload_cookies_post"}}}, "required": true}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"items": {"$ref": "#/components/schemas/FileResponseModel"}, "type": "array", "title": "Response 200 Upload Cookies V1 Upload Cookies Post"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/v1/files/{bucket_id}": {"get": {"summary": "Read Files", "operationId": "read_files_v1_files__bucket_id__get", "parameters": [{"name": "bucket_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Bucket Id"}}, {"name": "delete_files", "in": "query", "required": false, "schema": {"type": "boolean", "default": true, "title": "Delete Files"}}, {"name": "refine_chunks_with_spacy", "in": "query", "required": false, "schema": {"type": "boolean", "default": false, "title": "Refine Chunks With Spacy"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}, "text/event-stream": {"schema": {"type": "string"}}, "text/plain": {"schema": {"type": "string"}}}}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}, "post": {"summary": "Upload Files", "operationId": "upload_files_v1_files__bucket_id__post", "parameters": [{"name": "bucket_id", "in": "path", "required": true, "schema": {"type": "string", "title": "Bucket Id"}}], "requestBody": {"required": true, "content": {"multipart/form-data": {"schema": {"$ref": "#/components/schemas/Body_upload_files_v1_files__bucket_id__post"}}}}, "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/UploadResponseModel"}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/v1/synthesize/{provider}": {"get": {"summary": "Synthesize", "operationId": "synthesize_v1_synthesize__provider__get", "parameters": [{"name": "provider", "in": "path", "required": true, "schema": {"type": "string", "title": "Provider"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}, "audio/*": {}}}, "404": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Not Found"}, "422": {"content": {"application/json": {"schema": {"$ref": "#/components/schemas/ErrorResponseModel"}}}, "description": "Unprocessable Content"}}}}, "/json/{filename}": {"post": {"summary": "Get Json", "operationId": "get_json_json__filename__post", "parameters": [{"name": "filename", "in": "path", "required": true, "schema": {"title": "Filename"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}}}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/media/{filename}": {"get": {"summary": "Get Media", "operationId": "get_media_media__filename__get", "parameters": [{"name": "filename", "in": "path", "required": true, "schema": {"title": "Filename"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}, "image/*": {}, "audio/*": {}}, "video/*": {}}, "404": {"description": "Not Found"}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}, "/images/{filename}": {"get": {"summary": "Get Media", "operationId": "get_media_images__filename__get", "parameters": [{"name": "filename", "in": "path", "required": true, "schema": {"title": "Filename"}}], "responses": {"200": {"description": "Successful Response", "content": {"application/json": {"schema": {}}, "image/*": {}}}, "404": {"description": "Not Found"}, "422": {"description": "Validation Error", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/HTTPValidationError"}}}}}}}}, "components": {"schemas": {"AudioSpeechConfig": {"properties": {"input": {"type": "string", "title": "Input"}, "model": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Model"}, "provider": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Provider"}, "voice": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Voice"}, "instrcutions": {"type": "string", "title": "Instrcutions", "default": "Speech this text in a natural way."}, "response_format": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Response Format"}, "language": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Language"}}, "type": "object", "required": ["input"], "title": "AudioSpeechConfig"}, "Body_convert_api__path_provider__audio_transcriptions_post": {"properties": {"file": {"type": "string", "format": "binary", "title": "File"}, "model": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Model"}, "provider": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Provider"}, "prompt": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Prompt", "default": "Transcribe this audio"}}, "type": "object", "required": ["file"], "title": "Body_convert_api__path_provider__audio_transcriptions_post"}, "Body_convert_v1_audio_transcriptions_post": {"properties": {"file": {"type": "string", "format": "binary", "title": "File"}, "model": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Model"}, "provider": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Provider"}, "prompt": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Prompt", "default": "Transcribe this audio"}}, "type": "object", "required": ["file"], "title": "Body_convert_v1_audio_transcriptions_post"}, "Body_markitdown_api_markitdown_post": {"properties": {"file": {"type": "string", "format": "binary", "title": "File"}}, "type": "object", "required": ["file"], "title": "Body_markitdown_api_markitdown_post"}, "Body_upload_cookies_v1_upload_cookies_post": {"properties": {"files": {"items": {"type": "string", "format": "binary"}, "type": "array", "title": "Files"}}, "type": "object", "required": ["files"], "title": "Body_upload_cookies_v1_upload_cookies_post"}, "Body_upload_files_v1_files__bucket_id__post": {"properties": {"files": {"items": {"type": "string", "format": "binary"}, "type": "array", "title": "Files"}}, "type": "object", "required": ["files"], "title": "Body_upload_files_v1_files__bucket_id__post"}, "ChatCompletion": {"properties": {"id": {"type": "string", "title": "Id"}, "object": {"type": "string", "title": "Object"}, "created": {"type": "integer", "title": "Created"}, "model": {"type": "string", "title": "Model"}, "provider": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Provider"}, "choices": {"items": {"$ref": "#/components/schemas/ChatCompletionChoice"}, "type": "array", "title": "Choices"}, "usage": {"$ref": "#/components/schemas/UsageModel"}, "conversation": {"additionalProperties": true, "type": "object", "title": "Conversation"}}, "type": "object", "required": ["id", "object", "created", "model", "provider", "choices", "usage", "conversation"], "title": "ChatCompletion"}, "ChatCompletionChoice": {"properties": {"index": {"type": "integer", "title": "Index"}, "message": {"$ref": "#/components/schemas/ChatCompletionMessage"}, "finish_reason": {"type": "string", "title": "Finish Reason"}}, "type": "object", "required": ["index", "message", "finish_reason"], "title": "ChatCompletionChoice"}, "ChatCompletionMessage": {"properties": {"role": {"type": "string", "title": "Role"}, "content": {"type": "string", "title": "Content"}, "tool_calls": {"items": {"$ref": "#/components/schemas/ToolCallModel"}, "type": "array", "title": "Tool Calls"}}, "type": "object", "required": ["role", "content"], "title": "ChatCompletionMessage"}, "ChatCompletionsConfig": {"properties": {"model": {"type": "string", "title": "Model", "default": ""}, "provider": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Provider"}, "media": {"anyOf": [{"items": {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}, "type": "array"}, {"type": "null"}], "title": "Media"}, "modalities": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Modalities"}, "temperature": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Temperature"}, "presence_penalty": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Presence Penalty"}, "frequency_penalty": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Frequency Penalty"}, "top_p": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Top P"}, "max_tokens": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Max Tokens"}, "stop": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "string"}, {"type": "null"}], "title": "Stop"}, "api_key": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Api Key"}, "api_base": {"type": "string", "title": "Api Base"}, "web_search": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Web Search"}, "proxy": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Proxy"}, "conversation": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Conversation"}, "timeout": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Timeout"}, "tool_calls": {"items": {}, "type": "array", "title": "Tool Calls", "default": [], "examples": [[{"function": {"arguments": {"add_text": true, "backend": "auto", "max_results": 5, "max_words": 2500, "query": "search query", "timeout": 5}, "name": "search_tool"}, "type": "function"}]]}, "reasoning_effort": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Reasoning Effort"}, "logit_bias": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Logit Bias"}, "audio": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Audio"}, "response_format": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Response Format"}, "extra_body": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Extra Body"}, "messages": {"items": {"additionalProperties": {"anyOf": [{"type": "string"}, {"items": {"additionalProperties": {"anyOf": [{"type": "string"}, {"additionalProperties": {"type": "string"}, "type": "object"}]}, "type": "object"}, "type": "array"}]}, "type": "object"}, "type": "array", "title": "Messages", "examples": [[{"content": "", "role": "system"}, {"content": "", "role": "user"}]]}, "stream": {"type": "boolean", "title": "Stream", "default": false}, "image": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Image"}, "image_name": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Image Name"}, "images": {"anyOf": [{"items": {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}, "type": "array"}, {"type": "null"}], "title": "Images"}, "tools": {"items": {}, "type": "array", "title": "Tools"}, "parallel_tool_calls": {"type": "boolean", "title": "Parallel Tool Calls"}, "tool_choice": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Tool Choice"}, "conversation_id": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Conversation Id"}}, "type": "object", "required": ["messages"], "title": "ChatCompletionsConfig"}, "ClientResponse": {"properties": {"id": {"type": "string", "title": "Id"}, "object": {"type": "string", "title": "Object"}, "created_at": {"type": "integer", "title": "Created At"}, "model": {"type": "string", "title": "Model"}, "provider": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Provider"}, "output": {"items": {"$ref": "#/components/schemas/ResponseMessage"}, "type": "array", "title": "Output"}, "usage": {"$ref": "#/components/schemas/UsageModel"}, "conversation": {"additionalProperties": true, "type": "object", "title": "Conversation"}}, "type": "object", "required": ["id", "object", "created_at", "model", "provider", "output", "usage", "conversation"], "title": "ClientResponse"}, "ErrorResponseMessageModel": {"properties": {"message": {"type": "string", "title": "Message"}}, "type": "object", "required": ["message"], "title": "ErrorResponseMessageModel"}, "ErrorResponseModel": {"properties": {"error": {"$ref": "#/components/schemas/ErrorResponseMessageModel"}, "model": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Model"}, "provider": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Provider"}}, "type": "object", "required": ["error"], "title": "ErrorResponseModel"}, "FileResponseModel": {"properties": {"filename": {"type": "string", "title": "Filename"}}, "type": "object", "required": ["filename"], "title": "FileResponseModel"}, "HTTPValidationError": {"properties": {"detail": {"items": {"$ref": "#/components/schemas/ValidationError"}, "type": "array", "title": "Detail"}}, "type": "object", "title": "HTTPValidationError"}, "Image": {"properties": {"url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Url"}, "b64_json": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "B64 Json"}, "revised_prompt": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Revised Prompt"}}, "type": "object", "required": ["url", "b64_json", "revised_prompt"], "title": "Image"}, "ImageGenerationConfig": {"properties": {"prompt": {"type": "string", "title": "Prompt"}, "model": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Model"}, "provider": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Provider"}, "response_format": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Response Format"}, "api_key": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Api Key"}, "proxy": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Proxy"}, "width": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Width"}, "height": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Height"}, "num_inference_steps": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Num Inference Steps"}, "seed": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Seed"}, "guidance_scale": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Guidance Scale"}, "aspect_ratio": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Aspect Ratio"}, "n": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "N"}, "negative_prompt": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Negative Prompt"}, "resolution": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Resolution"}, "audio": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Audio"}}, "type": "object", "required": ["prompt"], "title": "ImageGenerationConfig"}, "ImagesResponse": {"properties": {"data": {"items": {"$ref": "#/components/schemas/Image"}, "type": "array", "title": "Data"}, "model": {"type": "string", "title": "Model"}, "provider": {"type": "string", "title": "Provider"}, "created": {"type": "integer", "title": "Created"}}, "type": "object", "required": ["data", "model", "provider", "created"], "title": "ImagesResponse"}, "ModelResponseModel": {"properties": {"id": {"type": "string", "title": "Id"}, "object": {"type": "string", "title": "Object", "default": "model"}, "created": {"type": "integer", "title": "Created"}, "owned_by": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Owned By"}}, "type": "object", "required": ["id", "created", "owned_by"], "title": "ModelResponseModel"}, "ProviderResponseDetailModel": {"properties": {"id": {"type": "string", "title": "Id"}, "object": {"type": "string", "title": "Object", "default": "provider"}, "created": {"type": "integer", "title": "Created"}, "url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Url"}, "label": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Label"}, "models": {"items": {"type": "string"}, "type": "array", "title": "Models"}, "image_models": {"items": {"type": "string"}, "type": "array", "title": "Image Models"}, "vision_models": {"items": {"type": "string"}, "type": "array", "title": "Vision Models"}, "params": {"items": {"type": "string"}, "type": "array", "title": "Params"}}, "type": "object", "required": ["id", "created", "url", "label", "models", "image_models", "vision_models", "params"], "title": "ProviderResponseDetailModel"}, "ProviderResponseModel": {"properties": {"id": {"type": "string", "title": "Id"}, "object": {"type": "string", "title": "Object", "default": "provider"}, "created": {"type": "integer", "title": "Created"}, "url": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Url"}, "label": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Label"}}, "type": "object", "required": ["id", "created", "url", "label"], "title": "ProviderResponseModel"}, "ResponseMessage": {"properties": {"type": {"type": "string", "title": "Type", "default": "message"}, "role": {"type": "string", "title": "Role"}, "content": {"items": {"$ref": "#/components/schemas/ResponseMessageContent"}, "type": "array", "title": "Content"}}, "type": "object", "required": ["role", "content"], "title": "ResponseMessage"}, "ResponseMessageContent": {"properties": {"type": {"type": "string", "title": "Type"}, "text": {"type": "string", "title": "Text"}}, "type": "object", "required": ["type", "text"], "title": "ResponseMessageContent"}, "ResponsesConfig": {"properties": {"model": {"type": "string", "title": "Model", "default": ""}, "provider": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Provider"}, "media": {"anyOf": [{"items": {"prefixItems": [{"type": "string"}, {"type": "string"}], "type": "array", "maxItems": 2, "minItems": 2}, "type": "array"}, {"type": "null"}], "title": "Media"}, "modalities": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "null"}], "title": "Modalities"}, "temperature": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Temperature"}, "presence_penalty": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Presence Penalty"}, "frequency_penalty": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Frequency Penalty"}, "top_p": {"anyOf": [{"type": "number"}, {"type": "null"}], "title": "Top P"}, "max_tokens": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Max Tokens"}, "stop": {"anyOf": [{"items": {"type": "string"}, "type": "array"}, {"type": "string"}, {"type": "null"}], "title": "Stop"}, "api_key": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Api Key"}, "api_base": {"type": "string", "title": "Api Base"}, "web_search": {"anyOf": [{"type": "boolean"}, {"type": "null"}], "title": "Web Search"}, "proxy": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Proxy"}, "conversation": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Conversation"}, "timeout": {"anyOf": [{"type": "integer"}, {"type": "null"}], "title": "Timeout"}, "tool_calls": {"items": {}, "type": "array", "title": "Tool Calls", "default": [], "examples": [[{"function": {"arguments": {"add_text": true, "backend": "auto", "max_results": 5, "max_words": 2500, "query": "search query", "timeout": 5}, "name": "search_tool"}, "type": "function"}]]}, "reasoning_effort": {"anyOf": [{"type": "string"}, {"type": "null"}], "title": "Reasoning Effort"}, "logit_bias": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Logit Bias"}, "audio": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Audio"}, "response_format": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Response Format"}, "extra_body": {"anyOf": [{"additionalProperties": true, "type": "object"}, {"type": "null"}], "title": "Extra Body"}, "input": {"anyOf": [{"items": {"additionalProperties": {"anyOf": [{"type": "string"}, {"items": {"additionalProperties": {"anyOf": [{"type": "string"}, {"additionalProperties": {"type": "string"}, "type": "object"}]}, "type": "object"}, "type": "array"}]}, "type": "object"}, "type": "array"}, {"type": "string"}], "title": "Input"}}, "type": "object", "required": ["input"], "title": "ResponsesConfig"}, "TokenDetails": {"properties": {"cached_tokens": {"type": "integer", "title": "Cached Tokens"}}, "type": "object", "required": ["cached_tokens"], "title": "TokenDetails"}, "ToolCallModel": {"properties": {"id": {"type": "string", "title": "Id"}, "type": {"type": "string", "title": "Type"}, "function": {"$ref": "#/components/schemas/ToolFunctionModel"}}, "type": "object", "required": ["id", "type", "function"], "title": "ToolCallModel"}, "ToolFunctionModel": {"properties": {"name": {"type": "string", "title": "Name"}, "arguments": {"type": "string", "title": "Arguments"}}, "type": "object", "required": ["name", "arguments"], "title": "ToolFunctionModel"}, "TranscriptionResponseModel": {"properties": {"text": {"type": "string", "title": "Text"}, "model": {"type": "string", "title": "Model"}, "provider": {"type": "string", "title": "Provider"}}, "type": "object", "required": ["text", "model", "provider"], "title": "TranscriptionResponseModel"}, "UploadResponseModel": {"properties": {"bucket_id": {"type": "string", "title": "Bucket Id"}, "url": {"type": "string", "title": "Url"}}, "type": "object", "required": ["bucket_id", "url"], "title": "UploadResponseModel"}, "UsageModel": {"properties": {"prompt_tokens": {"type": "integer", "title": "Prompt Tokens"}, "completion_tokens": {"type": "integer", "title": "Completion Tokens"}, "total_tokens": {"type": "integer", "title": "Total Tokens"}, "prompt_tokens_details": {"$ref": "#/components/schemas/TokenDetails"}, "completion_tokens_details": {"$ref": "#/components/schemas/TokenDetails"}}, "type": "object", "required": ["prompt_tokens", "completion_tokens", "total_tokens", "prompt_tokens_details", "completion_tokens_details"], "title": "UsageModel"}, "ValidationError": {"properties": {"loc": {"items": {"anyOf": [{"type": "string"}, {"type": "integer"}]}, "type": "array", "title": "Location"}, "msg": {"type": "string", "title": "Message"}, "type": {"type": "string", "title": "Error Type"}}, "type": "object", "required": ["loc", "msg", "type"], "title": "ValidationError"}}, "securitySchemes": {"HTTPBearer": {"type": "http", "scheme": "bearer"}}}}