with one click
verging-ai-chat
Generate AI chat completions using GPT-4o through the verging.ai proxy API with streaming (SSE) and non-streaming response support.
Menu
Generate AI chat completions using GPT-4o through the verging.ai proxy API with streaming (SSE) and non-streaming response support.
| name | verging-ai-chat |
| description | Generate AI chat completions using GPT-4o through the verging.ai proxy API with streaming (SSE) and non-streaming response support. |
Generate AI chat completions using GPT-4o through the verging.ai proxy API. Supports both streaming (SSE) and non-streaming responses.
All requests require an API key in the Authorization header:
Authorization: ApiKey vrg_sk_xxx
Replace vrg_sk_xxx with your verging.ai API key. You can generate one at https://verging.ai under your account settings.
POST https://verging.ai/api/v1/ai/chat
Content-Type: application/json
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| messages | array | Yes | — | Array of message objects {role, content} |
| model | string | No | gpt-4o | Model to use |
| temperature | float | No | — | Sampling temperature (0–2) |
| max_tokens | int | No | — | Maximum tokens in the response |
| stream | boolean | No | false | Enable Server-Sent Events streaming |
Each message object:
| Field | Type | Description |
|---|---|---|
| role | string | system, user, or assistant |
| content | string | The message content |
Requires a minimum balance of 5 credits before calling (post-deduct billing).
curl -X POST https://verging.ai/api/v1/ai/chat \
-H "Authorization: ApiKey vrg_sk_xxx" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Explain quantum computing in one paragraph."}
],
"temperature": 0.7,
"max_tokens": 256
}'
curl -N -X POST https://verging.ai/api/v1/ai/chat \
-H "Authorization: ApiKey vrg_sk_xxx" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{"role": "user", "content": "Write a haiku about coding."}
],
"stream": true
}'
{
"content": "Quantum computing leverages quantum mechanical phenomena...",
"usage": {
"prompt_tokens": 24,
"completion_tokens": 85,
"total_tokens": 109
},
"credits_consumed": 1
}
The response is a stream of Server-Sent Events. Each content chunk:
data: {"content": "Quantum "}
data: {"content": "computing "}
The final chunk includes usage and credits information:
data: {"usage": {"prompt_tokens": 24, "completion_tokens": 85, "total_tokens": 109}, "credits_consumed": 1}
data: [DONE]
| Token Type | Rate |
|---|---|
| Input | 1 credit / 10K tokens |
| Output | 3 credits / 10K tokens |
Minimum charge: 1 credit per request.
| HTTP Status | Error Code | Description |
|---|---|---|
| 402 | 40001 | Insufficient credits (minimum 5 required) |
| 429 | — | Rate limit exceeded (check X-RateLimit-Reset) |
| 502 | — | Upstream provider error |
| 503 | — | Service unavailable or upstream timeout |
Error response format:
{
"error_code": 40001,
"message": "Insufficient credits. Required: 5, available: 2",
"upstream_error": null
}
Professional frontend standards for building, scaffolding, extending, or reviewing any UI or frontend project — new or existing — even when standards aren't explicitly asked for. Keeps generated code consistent, reusable, secure, and production-quality. Framework-agnostic: React, Vue, Angular, Svelte, plain JS.
发布本地生成的 HTML、Markdown、TXT、PDF、Word 或 PPTX 到 ShareOne 平台,生成公网分享短链接;或者当用户提供 ShareOne 链接并要求下载文件、修改文件、拉取/处理评论时使用此技能。当用户要求“发布”、“分享”、“生成链接”、“上线”,或者“下载这个链接的文件”、“修改这个 ShareOne 链接的内容”、“拉取这个链接的评论”时,必须使用此技能。
Convert text to speech audio using OpenAI TTS-1-HD through the verging.ai proxy API. Supports multiple voices, playback speed control, and various audio output formats.
Generate AI images using DALL-E 3 or gpt-image-1 through the verging.ai proxy API. Supports standard and HD quality, multiple images per request, and returns CDN-hosted image URLs.
Analyze images using GPT-4o Vision through the verging.ai proxy API, supporting both image URL (JSON) and file upload (multipart) modes.
Search your Microsoft Outlook inbox and cross-reference emails with your contact history — find any email instantly and see full relationship context alongside it via Rarefriend. Use when the user wants to: check recent Outlook emails, search for an email by subject or sender, find emails from a specific person, look up what was discussed over email, cross- reference email threads with CRM notes, or connect their Microsoft Outlook email account. Triggers on: Outlook email, Microsoft email, inbox, email from, search email, recent emails, Outlook inbox, check my email, find email, email history, what did they say, email thread, did I hear back, follow up email.