Upload README.md
Browse files
README.md
CHANGED
|
@@ -18,13 +18,12 @@ size_categories:
|
|
| 18 |
|
| 19 |
Small, documentation-oriented request sketches for the [Modelflare](https://modelflare.dev/?utm_source=huggingface&utm_medium=dataset&utm_campaign=api_examples) AI API gateway.
|
| 20 |
|
| 21 |
-
**中文:** 面向文档的请求示例(无真实密钥)。模型 id 必须已在 key 所属分组开通;实时目录以[控制台](https://modelflare.dev/?utm_source=huggingface&utm_medium=dataset&utm_campaign=api_examples)为准。
|
| 22 |
|
| 23 |
## Files
|
| 24 |
|
| 25 |
| File | Description |
|
| 26 |
| --- | --- |
|
| 27 |
-
| `data/chat_completions_examples.jsonl` |
|
| 28 |
| `data/endpoint_map.json` | API family → path map from [endpoints guide](https://docs.modelflare.dev/guides/endpoints/) |
|
| 29 |
|
| 30 |
## Base URL
|
|
@@ -32,6 +31,7 @@ Small, documentation-oriented request sketches for the [Modelflare](https://mode
|
|
| 32 |
- OpenAI-compatible: `https://modelflare.dev/v1`
|
| 33 |
- Anthropic / Claude Code: `ANTHROPIC_BASE_URL=https://modelflare.dev` (**not** `/v1`)
|
| 34 |
- Gemini CLI: `GOOGLE_GEMINI_BASE_URL=https://modelflare.dev`
|
|
|
|
| 35 |
|
| 36 |
Auth: `Authorization: Bearer YOUR_MODELFLARE_API_KEY` (omit or placeholder in this dataset — **never** commit real keys).
|
| 37 |
|
|
@@ -41,10 +41,12 @@ Auth: `Authorization: Bearer YOUR_MODELFLARE_API_KEY` (omit or placeholder in th
|
|
| 41 |
- [Modelflare/api-recipes](https://huggingface.co/spaces/Modelflare/api-recipes)
|
| 42 |
- [Modelflare/coding-agents](https://huggingface.co/spaces/Modelflare/coding-agents)
|
| 43 |
- [Modelflare/openai-sdk](https://huggingface.co/spaces/Modelflare/openai-sdk)
|
|
|
|
| 44 |
- Collection: [modelflare-getting-started](https://huggingface.co/collections/Modelflare/modelflare-getting-started)
|
| 45 |
|
| 46 |
## Notes
|
| 47 |
|
| 48 |
-
- Example chat model
|
| 49 |
-
- Image
|
|
|
|
| 50 |
- No prices or benchmarks in this dataset; check the console for live pricing.
|
|
|
|
| 18 |
|
| 19 |
Small, documentation-oriented request sketches for the [Modelflare](https://modelflare.dev/?utm_source=huggingface&utm_medium=dataset&utm_campaign=api_examples) AI API gateway.
|
| 20 |
|
|
|
|
| 21 |
|
| 22 |
## Files
|
| 23 |
|
| 24 |
| File | Description |
|
| 25 |
| --- | --- |
|
| 26 |
+
| `data/chat_completions_examples.jsonl` | Chat, models, Responses, image, and video request JSON lines (placeholder key only) |
|
| 27 |
| `data/endpoint_map.json` | API family → path map from [endpoints guide](https://docs.modelflare.dev/guides/endpoints/) |
|
| 28 |
|
| 29 |
## Base URL
|
|
|
|
| 31 |
- OpenAI-compatible: `https://modelflare.dev/v1`
|
| 32 |
- Anthropic / Claude Code: `ANTHROPIC_BASE_URL=https://modelflare.dev` (**not** `/v1`)
|
| 33 |
- Gemini CLI: `GOOGLE_GEMINI_BASE_URL=https://modelflare.dev`
|
| 34 |
+
- Gemini native image: `POST /v1/models/{model}:generateContent` (Gemini CLI builds the same path under `/v1beta`, served only on `modelflare.dev`)
|
| 35 |
|
| 36 |
Auth: `Authorization: Bearer YOUR_MODELFLARE_API_KEY` (omit or placeholder in this dataset — **never** commit real keys).
|
| 37 |
|
|
|
|
| 41 |
- [Modelflare/api-recipes](https://huggingface.co/spaces/Modelflare/api-recipes)
|
| 42 |
- [Modelflare/coding-agents](https://huggingface.co/spaces/Modelflare/coding-agents)
|
| 43 |
- [Modelflare/openai-sdk](https://huggingface.co/spaces/Modelflare/openai-sdk)
|
| 44 |
+
- Blog: [Modelflare/blog](https://huggingface.co/spaces/Modelflare/blog)
|
| 45 |
- Collection: [modelflare-getting-started](https://huggingface.co/collections/Modelflare/modelflare-getting-started)
|
| 46 |
|
| 47 |
## Notes
|
| 48 |
|
| 49 |
+
- Example chat model ID in snippets: `gpt-5.6-sol`, the model used in the Modelflare Quickstart (it must be enabled on your group).
|
| 50 |
+
- Image and video fields vary by model; see the model pages. Use a Smart API Key or a `media` group key for media.
|
| 51 |
+
- The streaming line follows the OpenAI SDK `stream=True` pattern; the docs do not include a separate streaming example. Anthropic Messages are documented through Claude Code settings only, so no raw Anthropic request is included.
|
| 52 |
- No prices or benchmarks in this dataset; check the console for live pricing.
|