[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73GJNZFQATSXTHEKHK2T511":3,"skill-same:01M73GJNZFQATSXTHEKHK2T511":51},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M73GJNZFQATSXTHEKHK2T511","venice--venice-chat",null,"Call POST \u002Fchat\u002Fcompletions on Venice. Covers the OpenAI-compatible request shape, Venice-only venice_parameters (web search, E2EE, characters, thinking control, X search), multimodal inputs (images\u002Faudio\u002Fvideo), tool calls, reasoning controls, streaming, prompt caching, structured output, and model","Horonomos-laps\u002FYana-AI","Horonomos-laps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F355299122?v=4","01M76B3QPXE88ET2SQPDPVATZT"," Horonomos-laps","01M72ZQRJPCYPSSWT4D00VJR2A",13,"MIT","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fvenice--venice-chat\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: venice--venice-chat\ndescription: >-\n  Call POST \u002Fchat\u002Fcompletions on Venice. Covers the OpenAI-compatible request shape, Venice-only venice_parameters (web search, E2EE, characters, thinking control, X search), multimodal inputs (images\u002Faudio\u002Fvideo), tool calls, reasoning controls, streaming, prompt caching, structured output, and model\norigin: \"github.com\u002Fveniceai\u002Fskills (skill: venice-chat)\"\nlicense: MIT\nversion: \"1.0.0\"\ncompatibility: \"yana-ai >= 0.14.0\"\n---\n\n# Venice Chat Completions\n\n`POST \u002Fapi\u002Fv1\u002Fchat\u002Fcompletions` is Venice's main text endpoint. It's OpenAI-compatible, plus a `venice_parameters` object for Venice-only features.\n\n## Use when\n\n- You need LLM text generation, with or without tools, with or without streaming.\n- You want multimodal inputs (images, audio, video) to a vision\u002Faudio-capable model.\n- You want Venice-specific features: web search, E2EE, characters, xAI X\u002FTwitter search, strip-thinking, web scraping.\n- You need prompt caching for large system prompts or long documents.\n- You need structured (`json_schema`) output.\n\nFor the newer Alpha **Responses API**, see [`venice-responses`](..\u002Fvenice-responses\u002FSKILL.md).\n\n## Minimal request\n\n```bash\ncurl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fchat\u002Fcompletions \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"zai-org-glm-5-1\",\n    \"messages\": [{\"role\": \"user\", \"content\": \"Why is the sky blue?\"}]\n  }'\n```\n\nResponse shape is the standard OpenAI `chat.completion` object (`id`, `object: \"chat.completion\"`, `choices[].message`, `usage`). With `stream: true`, responses come as SSE `data:` lines in `chat.completion.chunk` format.\n\n## The request body\n\n### Core fields (OpenAI-compatible)\n\n| Field | Notes |\n|---|---|\n| `model` | string — model ID, trait name, or compatibility mapping. Suffixes allowed (see below). Required. |\n| `messages` | array of `system` \u002F `developer` \u002F `user` \u002F `assistant` \u002F `tool` messages. Required, min 1. |\n| `temperature`, `top_p`, `top_k`, `min_p`, `min_temp`, `max_temp` | sampling controls |\n| `repetition_penalty`, `frequency_penalty`, `presence_penalty` | repetition controls |\n| `max_tokens` *(deprecated)* \u002F `max_completion_tokens` | upper bound on output tokens |\n| `n` | number of choices (keep `1` to minimize cost) |\n| `seed` | integer for reproducibility |\n| `stop` \u002F `stop_token_ids` | up to 4 strings, or raw token IDs |\n| `stream`, `stream_options.include_usage` | SSE streaming + include usage in the final chunk |\n| `response_format` | `{type:\"json_schema\", json_schema:{...}}` (preferred), `{type:\"json_object\"}`, or `{type:\"text\"}` |\n| `tools`, `tool_choice`, `parallel_tool_calls` | function calling \u002F built-in tools |\n| `logprobs`, `top_logprobs` | return token log-probabilities |\n| `reasoning.effort` \u002F `reasoning_effort` | `none` \\| `minimal` \\| `low` \\| `medium` \\| `high` \\| `xhigh` \\| `max` |\n| `reasoning.summary` | `auto` \\| `concise` \\| `detailed` |\n| `prompt_cache_key`, `prompt_cache_retention` (`default`\u002F`extended`\u002F`24h`) | prompt caching hints |\n| `text.verbosity` | `low`\u002F`medium`\u002F`high`\u002F`auto` |\n| `metadata` | key\u002Fvalue strings for tracking |\n| `user`, `store` | accepted but ignored (OpenAI compat) |\n\n### `venice_parameters` (Venice-only)\n\nAll optional. Combined with model feature suffixes, these are how you enable Venice features.\n\n| Field | Type | Default | Effect |\n|---|---|---|---|\n| `character_slug` | string | — | Apply a published Venice character. Slug is the \"Public ID\" on the character page. See [`venice-characters`](..\u002Fvenice-characters\u002FSKILL.md). |\n| `strip_thinking_response` | bool | `false` | Strip `\u003Cthink>...\u003C\u002Fthink>` from the assistant output on reasoning models. |\n| `disable_thinking` | bool | `false` | Disable thinking entirely on supported reasoning models and strip tags. |\n| `enable_e2ee` | bool | `true` | End-to-end encryption on E2EE-capable models when E2EE headers are present. Set to `false` to force TEE-only. |\n| `enable_web_search` | `\"off\"`\u002F`\"auto\"`\u002F`\"on\"` | `\"off\"` | Venice server-side web search. Citations arrive in the first streamed chunk or the response. |\n| `enable_web_scraping` | bool | `false` | Scrape any URLs found in the last user message (Firecrawl). |\n| `enable_web_citations` | bool | `false` | Ask the LLM to cite sources with `^1^` \u002F `^1,3^` superscripts. |\n| `include_search_results_in_stream` | bool | `false` | Experimental — emit search results as the first stream chunk. |\n| `return_search_results_as_documents` | bool | — | Also surface search results as a synthetic tool call `venice_web_search_documents` (LangChain-friendly). |\n| `include_venice_system_prompt` | bool | `true` | Prepend Venice's curated system prompt. Turn off for full control. |\n| `enable_x_search` | bool | `false` | xAI native web + X\u002FTwitter search (Grok models with `supportsXSearch`). Adds ~$0.01\u002Fsearch. |\n\n### Model feature suffixes\n\nSome `venice_parameters` can also be expressed as **model feature suffixes** on the `model` string — useful when the caller\u002Flibrary (OpenAI SDK, LangChain) can't set `venice_parameters`. Syntax:\n\n```\n\u003Cmodel-id>:\u003Ckey>=\u003Cvalue>[&\u003Ckey>=\u003Cvalue>…]\n```\n\nValues are URL-decoded. Supported keys (exact match):\n\n| Key | Type | Maps to |\n|---|---|---|\n| `enable_web_search` | `on` \u002F `off` \u002F `auto` | `venice_parameters.enable_web_search` |\n| `enable_web_citations` | `\"true\"` \u002F `\"false\"` | `venice_parameters.enable_web_citations` |\n| `enable_web_scraping` | `\"true\"` \u002F `\"false\"` | `venice_parameters.enable_web_scraping` |\n| `include_venice_system_prompt` | `\"true\"` \u002F `\"false\"` | `venice_parameters.include_venice_system_prompt` |\n| `include_search_results_in_stream` | `\"true\"` \u002F `\"false\"` | `venice_parameters.include_search_results_in_stream` |\n| `return_search_results_as_documents` | `\"true\"` \u002F `\"false\"` | `venice_parameters.return_search_results_as_documents` |\n| `character_slug` | string | `venice_parameters.character_slug` |\n| `strip_thinking_response` | `\"true\"` \u002F `\"false\"` | `venice_parameters.strip_thinking_response` |\n| `disable_thinking` | `\"true\"` \u002F `\"false\"` | `venice_parameters.disable_thinking` |\n\nUnknown keys are silently ignored. Examples:\n\n```\nzai-org-glm-5-1:enable_web_search=on\nkimi-k2-6:strip_thinking_response=true&enable_web_search=auto\nzai-org-glm-5-1:character_slug=alan-watts\n```\n\nNote: `enable_e2ee` and `enable_x_search` can **only** be set via `venice_parameters`, not as suffixes.\n\n## Messages and modalities\n\n`messages[].content` is either a string or an array of typed parts. Roles: `user`, `assistant`, `tool`, `system`, `developer` (reasoning models like o-series \u002F codex).\n\n### Text + image (`image_url`)\n\n```json\n{\n  \"model\": \"zai-org-glm-5-1\",\n  \"messages\": [{\n    \"role\": \"user\",\n    \"content\": [\n      {\"type\": \"text\", \"text\": \"What's in this image?\"},\n      {\"type\": \"image_url\", \"image_url\": {\"url\": \"https:\u002F\u002Fexample.com\u002Fcat.jpg\"}}\n    ]\n  }]\n}\n```\n\n- `url` accepts a public URL **or** `data:image\u002Fpng;base64,...`.\n- Models with `model_spec.capabilities.supportsMultipleImages: true` preserve images across the whole conversation; single-image vision models only keep images from the **last** user message. Check `model_spec.capabilities.maxImages` for the per-request cap.\n\n### Audio input (`input_audio`)\n\n```json\n{\n  \"role\": \"user\",\n  \"content\": [\n    {\"type\": \"text\", \"text\": \"Transcribe this clip.\"},\n    {\"type\": \"input_audio\", \"input_audio\": {\"data\": \"\u003Cbase64>\", \"format\": \"wav\"}}\n  ]\n}\n```\n\nFormats: `wav`, `mp3`, `aiff`, `aac`, `ogg`, `flac`, `m4a`, `pcm16`, `pcm24`. Audio URLs are **not** supported — always inline base64.\n\n### Video input (`video_url`)\n\n```json\n{\n  \"role\": \"user\",\n  \"content\": [\n    {\"type\": \"text\", \"text\": \"Summarize this.\"},\n    {\"type\": \"video_url\", \"video_url\": {\"url\": \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\"}}\n  ]\n}\n```\n\nAccepts public URLs (including YouTube for some providers) or `data:video\u002Fmp4;base64,...`. Supported formats: `mp4`, `mpeg`, `mov`, `webm`.\n\n### Prompt caching (`cache_control`)\n\nAny text \u002F image_url \u002F input_audio \u002F video_url part can carry:\n\n```json\n{\"cache_control\": {\"type\": \"ephemeral\", \"ttl\": \"1h\"}}\n```\n\nCombine with `prompt_cache_key` and `prompt_cache_retention: \"24h\"` on the root request for predictable cache routing. Cache read \u002F write pricing is model-specific — check `model_spec.pricing` on `\u002Fmodels`.\n\n## Tools & function calling\n\n### Function tools\n\n```json\n{\n  \"tools\": [{\n    \"type\": \"function\",\n    \"function\": {\n      \"name\": \"get_weather\",\n      \"description\": \"Get current weather for a city\",\n      \"parameters\": {\n        \"type\": \"object\",\n        \"properties\": {\"city\": {\"type\": \"string\"}},\n        \"required\": [\"city\"]\n      },\n      \"strict\": true\n    }\n  }],\n  \"tool_choice\": \"auto\"\n}\n```\n\n- `tool_choice` can also be `\"required\"`, `\"none\"`, or `{\"type\":\"function\",\"function\":{\"name\":\"get_weather\"}}`.\n- `parallel_tool_calls: true` (default) lets the model emit multiple calls at once.\n- Respond by appending `{\"role\":\"tool\",\"tool_call_id\":\"...\",\"content\":\"...\"}` before the next call.\n\n### Built-in tools\n\n```json\n\"tools\": [{\"type\": \"web_search\"}, {\"type\": \"x_search\"}]\n```\n\nEquivalent to toggling `venice_parameters.enable_web_search` \u002F `enable_x_search`. `x_search` requires a model with `supportsXSearch`.\n\n## Reasoning models\n\nOn thinking models (GLM 5.1, Kimi K2.6, Claude Opus 4.7, GPT-5.4 Pro, …):\n\n```json\n{\n  \"model\": \"zai-org-glm-5-1\",\n  \"reasoning\": {\"effort\": \"medium\", \"summary\": \"auto\"},\n  \"venice_parameters\": {\"strip_thinking_response\": false},\n  \"messages\": [...]\n}\n```\n\n- `reasoning_effort` is the OpenAI-compatible flat variant (takes precedence over `reasoning.effort`).\n- Reasoning models may return `reasoning_content` or structured `reasoning_details[]` on the assistant message. **Pass `reasoning_details` back verbatim** in the next turn — it encodes thought signatures for providers like Claude Opus 4.7 and GPT-5.4 Pro.\n- Use `venice_parameters.disable_thinking: true` to skip thinking entirely on supported models.\n\n## Structured output (`response_format`)\n\n```json\n{\n  \"response_format\": {\n    \"type\": \"json_schema\",\n    \"json_schema\": {\n      \"type\": \"object\",\n      \"properties\": {\"name\": {\"type\": \"string\"}, \"age\": {\"type\": \"number\"}},\n      \"required\": [\"name\", \"age\"]\n    }\n  }\n}\n```\n\nPrefer `json_schema` over the legacy `json_object`. Plain text is the default (`{\"type\": \"text\"}`).\n\n## E2EE (end-to-end encryption)\n\nFor models advertising `supportsE2EE`:\n\n1. Perform an HPKE \u002F Noise handshake with Venice (see docs.venice.ai\u002Fe2ee).\n2. Send encrypted payload with the required E2EE request headers.\n3. Leave `venice_parameters.enable_e2ee` at default `true`, or set `false` to fall back to TEE-only.\n\nE2EE is **not** supported on `\u002Fresponses` — use `\u002Fchat\u002Fcompletions` for encrypted inference.\n\n## Streaming\n\n```json\n{\"stream\": true, \"stream_options\": {\"include_usage\": true}}\n```\n\n- Response is `text\u002Fevent-stream`. Each event is `data: {...chunk...}\\n\\n`, terminated by `data: [DONE]`.\n- `include_usage: true` adds a final chunk with token counts.\n- With `venice_parameters.include_search_results_in_stream: true`, the **first** chunk carries `venice_search_results`.\n\n## Web-search answers\n\nWhen `enable_web_search` is `\"auto\"` or `\"on\"`, the response includes `venice_parameters.web_search_citations[]` where each entry has `url`, `title`, `content` (snippet), and `date`. Turn on `enable_web_citations` to have the model insert `^1^` superscripts inline.\n\n## Error handling specifics\n\n- `402` — insufficient balance. Bearer: `INSUFFICIENT_BALANCE`. x402: `PAYMENT_REQUIRED` with structured `topUpInstructions` and `siwxChallenge`.\n- `422` — prompt violates Venice or provider content policy. May include `suggested_prompt`.\n- `413` — payload too large (mostly vision\u002Faudio).\n- `429` — rate limit. See `\u002Fapi_keys\u002Frate_limits` and [`venice-errors`](..\u002Fvenice-errors\u002FSKILL.md).\n\n## Common gotchas\n\n- `max_tokens` is deprecated — prefer `max_completion_tokens`.\n- Image URLs must be **publicly reachable** from Venice's network. Localhost \u002F signed S3 URLs without public access fail.\n- Audio inputs cannot be URLs — always base64.\n- Single-image vision models drop older images on each turn; chain them into the **last** user message.\n- For multi-turn with tools on Claude Opus 4.7, GPT-5.4 Pro, and similar, always round-trip `reasoning_details` unchanged.\n- `parallel_tool_calls: true` means you MUST be prepared to execute several tools in parallel before sending a single `tool`-role reply chain.\n- `character_slug` **replaces** the default Venice system prompt. Combine with `include_venice_system_prompt: false` for total control.\n","# Venice Chat Completions\n\n`POST \u002Fapi\u002Fv1\u002Fchat\u002Fcompletions` is Venice's main text endpoint. It's OpenAI-compatible, plus a `venice_parameters` object for Venice-only features.\n\n## Use when\n\n- You need LLM text generation, with or without tools, with or without streaming.\n- You want multimodal inputs (images, audio, video) to a vision\u002Faudio-capable model.\n- You want Venice-specific features: web search, E2EE, characters, xAI X\u002FTwitter search, strip-thinking, web scraping.\n- You need prompt caching for large system prompts or long documents.\n- You need structured (`json_schema`) output.\n\nFor the newer Alpha **Responses API**, see [`venice-responses`](..\u002Fvenice-responses\u002FSKILL.md).\n\n## Minimal request\n\n```bash\ncurl https:\u002F\u002Fapi.venice.ai\u002Fapi\u002Fv1\u002Fchat\u002Fcompletions \\\n  -H \"Authorization: Bearer $VENICE_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\n    \"model\": \"zai-org-glm-5-1\",\n    \"messages\": [{\"role\": \"user\", \"content\": \"Why is the sky blue?\"}]\n  }'\n```\n\nResponse shape is the standard OpenAI `chat.completion` object (`id`, `object: \"chat.completion\"`, `choices[].message`, `usage`). With `stream: true`, responses come as SSE `data:` lines in `chat.completion.chunk` format.\n\n## The request body\n\n### Core fields (OpenAI-compatible)\n\n| Field | Notes |\n|---|---|\n| `model` | string — model ID, trait name, or compatibility mapping. Suffixes allowed (see below). Required. |\n| `messages` | array of `system` \u002F `developer` \u002F `user` \u002F `assistant` \u002F `tool` messages. Required, min 1. |\n| `temperature`, `top_p`, `top_k`, `min_p`, `min_temp`, `max_temp` | sampling controls |\n| `repetition_penalty`, `frequency_penalty`, `presence_penalty` | repetition controls |\n| `max_tokens` *(deprecated)* \u002F `max_completion_tokens` | upper bound on output tokens |\n| `n` | number of choices (keep `1` to minimize cost) |\n| `seed` | integer for reproducibility |\n| `stop` \u002F `stop_token_ids` | up to 4 strings, or raw token IDs |\n| `stream`, `stream_options.include_usage` | SSE streaming + include usage in the final chunk |\n| `response_format` | `{type:\"json_schema\", json_schema:{...}}` (preferred), `{type:\"json_object\"}`, or `{type:\"text\"}` |\n| `tools`, `tool_choice`, `parallel_tool_calls` | function calling \u002F built-in tools |\n| `logprobs`, `top_logprobs` | return token log-probabilities |\n| `reasoning.effort` \u002F `reasoning_effort` | `none` \\| `minimal` \\| `low` \\| `medium` \\| `high` \\| `xhigh` \\| `max` |\n| `reasoning.summary` | `auto` \\| `concise` \\| `detailed` |\n| `prompt_cache_key`, `prompt_cache_retention` (`default`\u002F`extended`\u002F`24h`) | prompt caching hints |\n| `text.verbosity` | `low`\u002F`medium`\u002F`high`\u002F`auto` |\n| `metadata` | key\u002Fvalue strings for tracking |\n| `user`, `store` | accepted but ignored (OpenAI compat) |\n\n### `venice_parameters` (Venice-only)\n\nAll optional. Combined with model feature suffixes, these are how you enable Venice features.\n\n| Field | Type | Default | Effect |\n|---|---|---|---|\n| `character_slug` | string | — | Apply a published Venice character. Slug is the \"Public ID\" on the character page. See [`venice-characters`](..\u002Fvenice-characters\u002FSKILL.md). |\n| `strip_thinking_response` | bool | `false` | Strip `\u003Cthink>...\u003C\u002Fthink>` from the assistant output on reasoning models. |\n| `disable_thinking` | bool | `false` | Disable thinking entirely on supported reasoning models and strip tags. |\n| `enable_e2ee` | bool | `true` | End-to-end encryption on E2EE-capable models when E2EE headers are present. Set to `false` to force TEE-only. |\n| `enable_web_search` | `\"off\"`\u002F`\"auto\"`\u002F`\"on\"` | `\"off\"` | Venice server-side web search. Citations arrive in the first streamed chunk or the response. |\n| `enable_web_scraping` | bool | `false` | Scrape any URLs found in the last user message (Firecrawl). |\n| `enable_web_citations` | bool | `false` | Ask the LLM to cite sources with `^1^` \u002F `^1,3^` superscripts. |\n| `include_search_results_in_stream` | bool | `false` | Experimental — emit search results as the first stream chunk. |\n| `return_search_results_as_documents` | bool | — | Also surface search results as a synthetic tool call `venice_web_search_documents` (LangChain-friendly). |\n| `include_venice_system_prompt` | bool | `true` | Prepend Venice's curated system prompt. Turn off for full control. |\n| `enable_x_search` | bool | `false` | xAI native web + X\u002FTwitter search (Grok models with `supportsXSearch`). Adds ~$0.01\u002Fsearch. |\n\n### Model feature suffixes\n\nSome `venice_parameters` can also be expressed as **model feature suffixes** on the `model` string — useful when the caller\u002Flibrary (OpenAI SDK, LangChain) can't set `venice_parameters`. Syntax:\n\n```\n\u003Cmodel-id>:\u003Ckey>=\u003Cvalue>[&\u003Ckey>=\u003Cvalue>…]\n```\n\nValues are URL-decoded. Supported keys (exact match):\n\n| Key | Type | Maps to |\n|---|---|---|\n| `enable_web_search` | `on` \u002F `off` \u002F `auto` | `venice_parameters.enable_web_search` |\n| `enable_web_citations` | `\"true\"` \u002F `\"false\"` | `venice_parameters.enable_web_citations` |\n| `enable_web_scraping` | `\"true\"` \u002F `\"false\"` | `venice_parameters.enable_web_scraping` |\n| `include_venice_system_prompt` | `\"true\"` \u002F `\"false\"` | `venice_parameters.include_venice_system_prompt` |\n| `include_search_results_in_stream` | `\"true\"` \u002F `\"false\"` | `venice_parameters.include_search_results_in_stream` |\n| `return_search_results_as_documents` | `\"true\"` \u002F `\"false\"` | `venice_parameters.return_search_results_as_documents` |\n| `character_slug` | string | `venice_parameters.character_slug` |\n| `strip_thinking_response` | `\"true\"` \u002F `\"false\"` | `venice_parameters.strip_thinking_response` |\n| `disable_thinking` | `\"true\"` \u002F `\"false\"` | `venice_parameters.disable_thinking` |\n\nUnknown keys are silently ignored. Examples:\n\n```\nzai-org-glm-5-1:enable_web_search=on\nkimi-k2-6:strip_thinking_response=true&enable_web_search=auto\nzai-org-glm-5-1:character_slug=alan-watts\n```\n\nNote: `enable_e2ee` and `enable_x_search` can **only** be set via `venice_parameters`, not as suffixes.\n\n## Messages and modalities\n\n`messages[].content` is either a string or an array of typed parts. Roles: `user`, `assistant`, `tool`, `system`, `developer` (reasoning models like o-series \u002F codex).\n\n### Text + image (`image_url`)\n\n```json\n{\n  \"model\": \"zai-org-glm-5-1\",\n  \"messages\": [{\n    \"role\": \"user\",\n    \"content\": [\n      {\"type\": \"text\", \"text\": \"What's in this image?\"},\n      {\"type\": \"image_url\", \"image_url\": {\"url\": \"https:\u002F\u002Fexample.com\u002Fcat.jpg\"}}\n    ]\n  }]\n}\n```\n\n- `url` accepts a public URL **or** `data:image\u002Fpng;base64,...`.\n- Models with `model_spec.capabilities.supportsMultipleImages: true` preserve images across the whole conversation; single-image vision models only keep images from the **last** user message. Check `model_spec.capabilities.maxImages` for the per-request cap.\n\n### Audio input (`input_audio`)\n\n```json\n{\n  \"role\": \"user\",\n  \"content\": [\n    {\"type\": \"text\", \"text\": \"Transcribe this clip.\"},\n    {\"type\": \"input_audio\", \"input_audio\": {\"data\": \"\u003Cbase64>\", \"format\": \"wav\"}}\n  ]\n}\n```\n\nFormats: `wav`, `mp3`, `aiff`, `aac`, `ogg`, `flac`, `m4a`, `pcm16`, `pcm24`. Audio URLs are **not** supported — always inline base64.\n\n### Video input (`video_url`)\n\n```json\n{\n  \"role\": \"user\",\n  \"content\": [\n    {\"type\": \"text\", \"text\": \"Summarize this.\"},\n    {\"type\": \"video_url\", \"video_url\": {\"url\": \"https:\u002F\u002Fwww.youtube.com\u002Fwatch?v=...\"}}\n  ]\n}\n```\n\nAccepts public URLs (including YouTube for some providers) or `data:video\u002Fmp4;base64,...`. Supported formats: `mp4`, `mpeg`, `mov`, `webm`.\n\n### Prompt caching (`cache_control`)\n\nAny text \u002F image_url \u002F input_audio \u002F video_url part can carry:\n\n```json\n{\"cache_control\": {\"type\": \"ephemeral\", \"ttl\": \"1h\"}}\n```\n\nCombine with `prompt_cache_key` and `prompt_cache_retention: \"24h\"` on the root request for predictable cache routing. Cache read \u002F write pricing is model-specific — check `model_spec.pricing` on `\u002Fmodels`.\n\n## Tools & function calling\n\n### Function tools\n\n```json\n{\n  \"tools\": [{\n    \"type\": \"function\",\n    \"function\": {\n      \"name\": \"get_weather\",\n      \"description\": \"Get current weather for a city\",\n      \"parameters\": {\n        \"type\": \"object\",\n        \"properties\": {\"city\": {\"type\": \"string\"}},\n        \"required\": [\"city\"]\n      },\n      \"strict\": true\n    }\n  }],\n  \"tool_choice\": \"auto\"\n}\n```\n\n- `tool_choice` can also be `\"required\"`, `\"none\"`, or `{\"type\":\"function\",\"function\":{\"name\":\"get_weather\"}}`.\n- `parallel_tool_calls: true` (default) lets the model emit multiple calls at once.\n- Respond by appending `{\"role\":\"tool\",\"tool_call_id\":\"...\",\"content\":\"...\"}` before the next call.\n\n### Built-in tools\n\n```json\n\"tools\": [{\"type\": \"web_search\"}, {\"type\": \"x_search\"}]\n```\n\nEquivalent to toggling `venice_parameters.enable_web_search` \u002F `enable_x_search`. `x_search` requires a model with `supportsXSearch`.\n\n## Reasoning models\n\nOn thinking models (GLM 5.1, Kimi K2.6, Claude Opus 4.7, GPT-5.4 Pro, …):\n\n```json\n{\n  \"model\": \"zai-org-glm-5-1\",\n  \"reasoning\": {\"effort\": \"medium\", \"summary\": \"auto\"},\n  \"venice_parameters\": {\"strip_thinking_response\": false},\n  \"messages\": [...]\n}\n```\n\n- `reasoning_effort` is the OpenAI-compatible flat variant (takes precedence over `reasoning.effort`).\n- Reasoning models may return `reasoning_content` or structured `reasoning_details[]` on the assistant message. **Pass `reasoning_details` back verbatim** in the next turn — it encodes thought signatures for providers like Claude Opus 4.7 and GPT-5.4 Pro.\n- Use `venice_parameters.disable_thinking: true` to skip thinking entirely on supported models.\n\n## Structured output (`response_format`)\n\n```json\n{\n  \"response_format\": {\n    \"type\": \"json_schema\",\n    \"json_schema\": {\n      \"type\": \"object\",\n      \"properties\": {\"name\": {\"type\": \"string\"}, \"age\": {\"type\": \"number\"}},\n      \"required\": [\"name\", \"age\"]\n    }\n  }\n}\n```\n\nPrefer `json_schema` over the legacy `json_object`. Plain text is the default (`{\"type\": \"text\"}`).\n\n## E2EE (end-to-end encryption)\n\nFor models advertising `supportsE2EE`:\n\n1. Perform an HPKE \u002F Noise handshake with Venice (see docs.venice.ai\u002Fe2ee).\n2. Send encrypted payload with the required E2EE request headers.\n3. Leave `venice_parameters.enable_e2ee` at default `true`, or set `false` to fall back to TEE-only.\n\nE2EE is **not** supported on `\u002Fresponses` — use `\u002Fchat\u002Fcompletions` for encrypted inference.\n\n## Streaming\n\n```json\n{\"stream\": true, \"stream_options\": {\"include_usage\": true}}\n```\n\n- Response is `text\u002Fevent-stream`. Each event is `data: {...chunk...}\\n\\n`, terminated by `data: [DONE]`.\n- `include_usage: true` adds a final chunk with token counts.\n- With `venice_parameters.include_search_results_in_stream: true`, the **first** chunk carries `venice_search_results`.\n\n## Web-search answers\n\nWhen `enable_web_search` is `\"auto\"` or `\"on\"`, the response includes `venice_parameters.web_search_citations[]` where each entry has `url`, `title`, `content` (snippet), and `date`. Turn on `enable_web_citations` to have the model insert `^1^` superscripts inline.\n\n## Error handling specifics\n\n- `402` — insufficient balance. Bearer: `INSUFFICIENT_BALANCE`. x402: `PAYMENT_REQUIRED` with structured `topUpInstructions` and `siwxChallenge`.\n- `422` — prompt violates Venice or provider content policy. May include `suggested_prompt`.\n- `413` — payload too large (mostly vision\u002Faudio).\n- `429` — rate limit. See `\u002Fapi_keys\u002Frate_limits` and [`venice-errors`](..\u002Fvenice-errors\u002FSKILL.md).\n\n## Common gotchas\n\n- `max_tokens` is deprecated — prefer `max_completion_tokens`.\n- Image URLs must be **publicly reachable** from Venice's network. Localhost \u002F signed S3 URLs without public access fail.\n- Audio inputs cannot be URLs — always base64.\n- Single-image vision models drop older images on each turn; chain them into the **last** user message.\n- For multi-turn with tools on Claude Opus 4.7, GPT-5.4 Pro, and similar, always round-trip `reasoning_details` unchanged.\n- `parallel_tool_calls: true` means you MUST be prepared to execute several tools in parallel before sending a single `tool`-role reply chain.\n- `character_slug` **replaces** the default Venice system prompt. Combine with `include_venice_system_prompt: false` for total control.\n",{"name":5,"origin":24,"license":15,"version":25,"description":7,"compatibility":26},"github.com\u002Fveniceai\u002Fskills (skill: venice-chat)","1.0.0","yana-ai >= 0.14.0","main","481dcd7dd2e288b9d627a2bd017db70e64e6c6fa","core\u002Fskills\u002Fvenice--venice-chat",2,"https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI","https:\u002F\u002Fyana.vutam.link\u002F","https:\u002F\u002Fgithub.com\u002FHoronomos-laps","https:\u002F\u002Fyana.vutam.link","An open-source governed runtime & execution environment for multi-agent AI systems.","2026-11-14 13:24:09",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Horonomos-laps\u002FYana-AI --skill venice--venice-chat",{"tool":43,"command":44},"bunx","bunx skills add Horonomos-laps\u002FYana-AI --skill venice--venice-chat",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Horonomos-laps\u002FYana-AI --skill venice--venice-chat","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fvenice--venice-chat\u002FSKILL.md",true,[],[52,59,67,75,83,91],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M735GKET5YVYKAY62W2P5YXB","openai--sentry--sentry","Use when the user asks to inspect Sentry issues or events, summarize recent production errors, or pull basic Sentry health data via the Sentry API; perform read-only queries with the bundled script and require `SENTRY_AUTH_TOKEN`.","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fopenai--sentry--sentry\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M73DCAP83T17HY7SMGK7MGFE","ito-basket-compare","Compare Itô prediction-market baskets against a user's knowledge base, portfolio notes, financial context, watchlist, or research thesis. Use for read-only basket comparison and gap analysis without investment advice or live trading.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fito-basket-compare\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":71,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M734CYEMZFDR3KH6SW0JP8TD","implementing-network-traffic-baselining","Build network traffic baselines from NetFlow\u002FIPFIX data using Python pandas for statistical analysis, z-score anomaly detection, and hourly\u002Fdaily traffic pattern profiling","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-network-traffic-baselining\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M73ASZ6NJRJM44Z2P84NGQ3Q","detecting-evasion-techniques-in-endpoint-logs","Detects defense evasion techniques used by adversaries in endpoint logs including log tampering, timestomping, process injection, and security tool disabling. Use when investigating suspicious endpoint behavior, building detection rules for evasion tactics, or conducting threat hunting for stealthy adversary activity. Activates for requests involving evasion detection, defense evasion analysis, log tampering detection, or MITRE ATT&CK TA0005.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002Fcore\u002Fskills\u002Fdetecting-evasion-techniques-in-endpoint-logs\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":87,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M734AFNXD06Z78QRK0VKGT7Q","implementing-microsegmentation-with-guardicore","Implementing microsegmentation using Akamai Guardicore Segmentation to map application dependencies, create granular network policies, visualize east-west traffic flows, and enforce least-privilege communication between workloads across data centers and cloud.","https:\u002F\u002Fgithub.com\u002Fyanacuti1121\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fimplementing-microsegmentation-with-guardicore\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":63,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M736TK27QMCXK0DVCH25SJN5","ramdisk-tmpfs-patterns","https:\u002F\u002Fgithub.com\u002FHoronomos-laps\u002FYana-AI\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Framdisk-tmpfs-patterns\u002FSKILL.md",[],[]]