Skip to content

Commit 672531c

Browse files
authored
Merge pull request #47 from QuantumNous/auto-translate-20694228091
🌐 Auto-translate documentation
2 parents 6838e7d + bbf71a1 commit 672531c

File tree

406 files changed

+7622
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

406 files changed

+7622
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Native Gemini Format
3+
full: true
4+
_openapi:
5+
method: POST
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: |-
11+
Gemini audio generation API.
12+
Models such as gemini-2.5-flash-preview-tts can be used.
13+
---
14+
15+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
16+
17+
Gemini audio generation API.
18+
Models such as gemini-2.5-flash-preview-tts can be used.
19+
20+
<APIPage document={"openapi/generated/ai-model/音频(Audio)/post-v1beta-models-model-generatecontent-geminirelayv1beta-383836364-383836364.json"} operations={[{"path":"/v1beta/models/{model}:generateContent","method":"post"}]} />
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Text-to-Speech
3+
full: true
4+
_openapi:
5+
method: POST
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: Converts text into audio
11+
---
12+
13+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
14+
15+
Converts text into audio
16+
17+
<APIPage document={"openapi/generated/ai-model/音频(Audio)/原生OpenAI格式/post-v1-audio-speech-createspeech-383826485.json"} operations={[{"path":"/v1/audio/speech","method":"post"}]} />
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Audio Transcriptions
3+
full: true
4+
_openapi:
5+
method: POST
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: Convert audio to text
11+
---
12+
13+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
14+
15+
Convert audio to text
16+
17+
<APIPage document={"openapi/generated/ai-model/音频(Audio)/原生OpenAI格式/post-v1-audio-transcriptions-createtranscription-383826483.json"} operations={[{"path":"/v1/audio/transcriptions","method":"post"}]} />
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Audio Translation
3+
full: true
4+
_openapi:
5+
method: POST
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: Translates audio into English text
11+
---
12+
13+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
14+
15+
Translates audio into English text
16+
17+
<APIPage document={"openapi/generated/ai-model/音频(Audio)/原生OpenAI格式/post-v1-audio-translations-createtranslation-383826484.json"} operations={[{"path":"/v1/audio/translations","method":"post"}]} />
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: Native Claude Format
3+
full: true
4+
_openapi:
5+
method: POST
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: |
11+
Requests in Anthropic Claude Messages API format.
12+
Requires `anthropic-version` in the request header.
13+
---
14+
15+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
16+
17+
Requests in Anthropic Claude Messages API format.
18+
Requires `anthropic-version` in the request header.
19+
20+
21+
<APIPage document={"openapi/generated/ai-model/聊天(Chat)/post-v1-messages-createmessage-383826476.json"} operations={[{"path":"/v1/messages","method":"post"}]} />
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Gemini Media Recognition
3+
full: true
4+
_openapi:
5+
method: POST
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: >-
11+
Gemini Image, PDF, Audio, Video Recognition Request
12+
13+
14+
⚠️Note: Only supports uploading images, PDFs, audio, and video via inlineData in base64 format. fileData.fileUri or
15+
File API are not supported.
16+
---
17+
18+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
19+
20+
Gemini Image, PDF, Audio, Video Recognition Request
21+
22+
⚠️Note: Only supports uploading images, PDFs, audio, and video via inlineData in base64 format. fileData.fileUri or File API are not supported.
23+
24+
<APIPage document={"openapi/generated/ai-model/聊天(Chat)/原生Gemini格式/post-v1beta-models-model-generatecontent-geminirelayv1beta-391536411-391536411.json"} operations={[{"path":"/v1beta/models/{model}:generateContent","method":"post"}]} />
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
title: Gemini Text Chat
3+
full: true
4+
_openapi:
5+
method: POST
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: |
11+
Proxy Gemini API requests.
12+
Path format: `/v1beta/models/{model_name}:{action}`
13+
14+
For example:
15+
- `/v1beta/models/gemini-2.5-pro:generateContent`
16+
- `/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse`
17+
---
18+
19+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
20+
21+
Proxy Gemini API requests.
22+
Path format: `/v1beta/models/{model_name}:{action}`
23+
24+
For example:
25+
- `/v1beta/models/gemini-2.5-pro:generateContent`
26+
- `/v1beta/models/gemini-2.5-pro:streamGenerateContent?alt=sse`
27+
28+
29+
<APIPage document={"openapi/generated/ai-model/聊天(Chat)/原生Gemini格式/post-v1beta-models-model-generatecontent-geminirelayv1beta-383826489.json"} operations={[{"path":"/v1beta/models/{model}:generateContent","method":"post"}]} />
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: ChatCompletions Format
3+
full: true
4+
_openapi:
5+
method: POST
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: |
11+
Creates model responses based on chat history. Supports streaming and non-streaming responses.
12+
13+
Compatible with OpenAI Chat Completions API.
14+
---
15+
16+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
17+
18+
Creates model responses based on chat history. Supports streaming and non-streaming responses.
19+
20+
Compatible with OpenAI Chat Completions API.
21+
22+
23+
<APIPage document={"openapi/generated/ai-model/聊天(Chat)/原生OpenAI格式/post-v1-chat-completions-createchatcompletion-383826473.json"} operations={[{"path":"/v1/chat/completions","method":"post"}]} />
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: Responses Format
3+
full: true
4+
_openapi:
5+
method: POST
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: |
11+
OpenAI Responses API, used to create model responses.
12+
Supports multi-turn conversations, tool calling, reasoning, and other features.
13+
---
14+
15+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
16+
17+
OpenAI Responses API, used to create model responses.
18+
Supports multi-turn conversations, tool calling, reasoning, and other features.
19+
20+
21+
<APIPage document={"openapi/generated/ai-model/聊天(Chat)/原生OpenAI格式/post-v1-responses-createresponse-383826475.json"} operations={[{"path":"/v1/responses","method":"post"}]} />
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Native OpenAI Format
3+
full: true
4+
_openapi:
5+
method: POST
6+
toc: []
7+
structuredData:
8+
headings: []
9+
contents:
10+
- content: Create text completions based on a given prompt
11+
---
12+
13+
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
14+
15+
Create text completions based on a given prompt
16+
17+
<APIPage document={"openapi/generated/ai-model/Completions/post-v1-completions-createcompletion-383826474.json"} operations={[{"path":"/v1/completions","method":"post"}]} />

0 commit comments

Comments
 (0)