网淘吧来吧,欢迎您!

Venice AI技能使用说明

2026-03-30 新闻来源:网淘吧 围观:8
电脑广告
手机广告

威尼斯AI——全能平台技能

什么是威尼斯AI?

威尼斯AI是为那些不希望被科技巨头监视的人们打造的AI平台。与OpenAI、Anthropic和谷歌不同——在那里,每一个提示都会被记录、分析,并可能用于训练未来的模型——威尼斯AI提供真正的隐私,在私有模型上实现零数据保留。您的对话内容完全属于您自己。

威尼斯AI也是无审查的:没有内容过滤器,没有拒绝,没有“我无法帮助处理那个”。AI会回答您实际提出的问题,无论是创意小说、安全研究、争议话题,还是任何主流AI平台不愿触及的内容。

Venice AI

为什么代理应该关注:

  • 私有推理——标记为“私有”的模型实现零数据保留。处理敏感数据而不会泄露到训练集中。
  • 无审查的响应——没有防护栏阻碍合法用例。生成您工作流程所需的任何内容。
  • OpenAI兼容的API——即插即用替换。相同的API格式,只需更改基础URL。
  • 30多个模型— 从轻量高效的小模型,到Claude Opus 4.5、GPT-5.2,以及Venice自家的无审查模型。
  • 内置网络搜索— 大语言模型可以通过一次API调用搜索网络并引用来源。
  • 图像与视频生成— 用于视觉内容的Flux、Sora、Runway、WAN等模型。

此技能为您提供完整的Venice平台:文本生成、网络搜索、嵌入、文本转语音、语音转文本、图像生成、视频创作、分辨率提升以及AI编辑。⚠️ API变更说明:

如果某些功能未按预期工作,请查阅docs.venice.ai— 自本技能编写以来,API规范可能已更新。前提条件

Python 3.10+

获取您的API密钥

Get Your API Key

  1. venice.ai
  2. 创建账户前往
  3. venice.ai/settings/api点击"创建API密钥" → 复制密钥(以vn_...

开头)

配置

export VENICE_API_KEY="vn_your_key_here"

选项A:环境变量选项B:Clawdbot配置

// ~/.clawdbot/clawdbot.json
{
  skills: {
    entries: {
      "venice-ai": {
        env: { VENICE_API_KEY: "vn_your_key_here" }
      }
    }
  }
}

(推荐)

python3 {baseDir}/scripts/venice.py models --type text

验证

脚本概览脚本
用途venice.py
文本生成、模型、嵌入、文本转语音、转录venice-image.py
图像生成(Flux等)venice-video.py
视频生成(Sora、WAN、Runway)venice-upscale.py
图像放大AI图像编辑

第一部分:文本与音频

模型探索与选择

威尼斯拥有庞大的模型目录,涵盖文本、图像、视频、音频和嵌入技术。

浏览模型

# List all text models
python3 {baseDir}/scripts/venice.py models --type text

# List image models
python3 {baseDir}/scripts/venice.py models --type image

# List all model types
python3 {baseDir}/scripts/venice.py models --type text,image,video,audio,embedding

# Get details on a specific model
python3 {baseDir}/scripts/venice.py models --filter llama

模型选择指南

需求推荐模型原因
最经济的文本模型qwen3-4b(每百万输入0.05美元)小巧、快速、高效
最佳无审查模型venice-uncensored(每百万输入0.20美元)威尼斯自有的无审查模型
最佳隐私保护+智能模型deepseek-v3.2(每百万输入0.40美元)卓越的推理能力,高效
视觉/多模态模型qwen3-vl-235b-a22b(每百万输入0.25美元)查看图像
最佳编程qwen3-coder-480b-a35b-instruct(输入每百万字符$0.75)海量代码模型
前沿(预算型)grok-41-fast(输入每百万字符$0.50)快速,262K上下文
前沿(最高质量)claude-opus-4-6(输入每百万字符$6)最佳整体质量
推理kimi-k2-5(输入每百万字符$0.75)强大的思维链
网络搜索任意模型 +enable_web_search内置网络搜索

文本生成(聊天补全)

基础生成

# Simple prompt
python3 {baseDir}/scripts/venice.py chat "What is the meaning of life?"

# Choose a model
python3 {baseDir}/scripts/venice.py chat "Explain quantum computing" --model deepseek-v3.2

# System prompt
python3 {baseDir}/scripts/venice.py chat "Review this code" --system "You are a senior engineer."

# Read from stdin
echo "Summarize this" | python3 {baseDir}/scripts/venice.py chat --model qwen3-4b

# Stream output
python3 {baseDir}/scripts/venice.py chat "Write a story" --stream

网络搜索集成

# Auto web search (model decides when to search)
python3 {baseDir}/scripts/venice.py chat "What happened in tech news today?" --web-search auto

# Force web search with citations
python3 {baseDir}/scripts/venice.py chat "Current Bitcoin price" --web-search on --web-citations

# Web scraping (extracts content from URLs in prompt)
python3 {baseDir}/scripts/venice.py chat "Summarize: https://example.com/article" --web-scrape

无审查模式

# Use Venice's own uncensored model
python3 {baseDir}/scripts/venice.py chat "Your question" --model venice-uncensored

# Disable Venice system prompts for raw model output
python3 {baseDir}/scripts/venice.py chat "Your prompt" --no-venice-system-prompt

推理模型

# Use a reasoning model with effort control
python3 {baseDir}/scripts/venice.py chat "Solve this math problem..." --model kimi-k2-5 --reasoning-effort high

# Strip thinking from output
python3 {baseDir}/scripts/venice.py chat "Debug this code" --model qwen3-4b --strip-thinking

高级选项

# Temperature and token control
python3 {baseDir}/scripts/venice.py chat "Be creative" --temperature 1.2 --max-tokens 4000

# JSON output mode
python3 {baseDir}/scripts/venice.py chat "List 5 colors as JSON" --json

# Prompt caching (for repeated context)
python3 {baseDir}/scripts/venice.py chat "Question" --cache-key my-session-123

# Show usage stats
python3 {baseDir}/scripts/venice.py chat "Hello" --show-usage

嵌入

为语义搜索、RAG和推荐生成向量嵌入:

# Single text
python3 {baseDir}/scripts/venice.py embed "Venice is a private AI platform"

# Multiple texts (batch)
python3 {baseDir}/scripts/venice.py embed "first text" "second text" "third text"

# From file (one text per line)
python3 {baseDir}/scripts/venice.py embed --file texts.txt

# Output as JSON
python3 {baseDir}/scripts/venice.py embed "some text" --output json

模型:text-embedding-bge-m3(私有,$0.15/百万令牌)


文本转语音(TTS)

使用60多种多语言语音将文本转换为语音:

# Default voice
python3 {baseDir}/scripts/venice.py tts "Hello, welcome to Venice AI"

# Choose a voice
python3 {baseDir}/scripts/venice.py tts "Exciting news!" --voice af_nova

# List available voices
python3 {baseDir}/scripts/venice.py tts --list-voices

# Custom output path
python3 {baseDir}/scripts/venice.py tts "Some text" --output /tmp/speech.mp3

# Adjust speed
python3 {baseDir}/scripts/venice.py tts "Speaking slowly" --speed 0.8

热门语音: af_skyaf_novaam_liambf_emmazf_xiaobei(中文)、jm_kumo(日语)

模型:tts-kokoro(私有,$3.50/百万字符)


语音转文字(转录)

将音频文件转录为文本:

# Transcribe a file
python3 {baseDir}/scripts/venice.py transcribe audio.wav

# With timestamps
python3 {baseDir}/scripts/venice.py transcribe recording.mp3 --timestamps

# From URL
python3 {baseDir}/scripts/venice.py transcribe --url https://example.com/audio.wav

支持的格式:WAV、FLAC、MP3、M4A、AAC、MP4

模型:nvidia/parakeet-tdt-0.6b-v3(私有,$0.0001/音频秒)


查看余额

python3 {baseDir}/scripts/venice.py balance

第二部分:图像与视频

定价概览

功能成本
图像生成约$0.01-0.03 每张图像
图像放大约$0.02-0.04
图像编辑$0.04
视频(WAN)约$0.10-0.50
视频(Sora)约$0.50-2.00
视频(Runway)约$0.20-1.00

使用--quote生成前通过视频指令检查定价。


图像生成

# Basic generation
python3 {baseDir}/scripts/venice-image.py --prompt "a serene canal in Venice at sunset"

# Multiple images
python3 {baseDir}/scripts/venice-image.py --prompt "cyberpunk city" --count 4

# Custom dimensions
python3 {baseDir}/scripts/venice-image.py --prompt "portrait" --width 768 --height 1024

# List available models and styles
python3 {baseDir}/scripts/venice-image.py --list-models
python3 {baseDir}/scripts/venice-image.py --list-styles

# Use specific model and style
python3 {baseDir}/scripts/venice-image.py --prompt "fantasy" --model flux-2-pro --style-preset "Cinematic"

# Reproducible results with seed
python3 {baseDir}/scripts/venice-image.py --prompt "abstract" --seed 12345

关键标志: --prompt,--model(默认:flux-2-max),--count,--width,--height,--format(webp/png/jpeg),--resolution(1K/2K/4K),--aspect-ratio,--negative-prompt,--style-preset,--cfg-scale(0-20),--seed,--safe-mode,--hide-watermark,--embed-exif


图像放大

# 2x upscale
python3 {baseDir}/scripts/venice-upscale.py photo.jpg --scale 2

# 4x with AI enhancement
python3 {baseDir}/scripts/venice-upscale.py photo.jpg --scale 4 --enhance

# Enhanced with custom prompt
python3 {baseDir}/scripts/venice-upscale.py photo.jpg --enhance --enhance-prompt "sharpen details"

# From URL
python3 {baseDir}/scripts/venice-upscale.py --url "https://example.com/image.jpg" --scale 2

关键标志: --scale(1-4,默认值:2),--enhance(AI增强),--enhance-prompt,--enhance-creativity(0.0-1.0),--url,--output


图像编辑

AI驱动的图像编辑:

# Add elements
python3 {baseDir}/scripts/venice-edit.py photo.jpg --prompt "add sunglasses"

# Modify scene
python3 {baseDir}/scripts/venice-edit.py photo.jpg --prompt "change the sky to sunset"

# Remove objects
python3 {baseDir}/scripts/venice-edit.py photo.jpg --prompt "remove the person in background"

# From URL
python3 {baseDir}/scripts/venice-edit.py --url "https://example.com/image.jpg" --prompt "colorize"

注意:编辑端点使用Qwen-Image,该模型有一些内容限制。


视频生成

# Get price quote first
python3 {baseDir}/scripts/venice-video.py --quote --model wan-2.6-image-to-video --duration 10s

# Image-to-video (WAN - default)
python3 {baseDir}/scripts/venice-video.py --image photo.jpg --prompt "camera pans slowly" --duration 10s

# Image-to-video (Sora)
python3 {baseDir}/scripts/venice-video.py --image photo.jpg --prompt "cinematic" \
  --model sora-2-image-to-video --duration 8s --aspect-ratio 16:9 --skip-audio-param

# Video-to-video (Runway Gen4)
python3 {baseDir}/scripts/venice-video.py --video input.mp4 --prompt "anime style" \
  --model runway-gen4-turbo-v2v

# List models with available durations
python3 {baseDir}/scripts/venice-video.py --list-models

关键标志: --image--video--prompt--model(默认: wan-2.6-image-to-video),--duration--resolution(480p/720p/1080p),--aspect-ratio--audio/--no-audio--quote--timeout

模型:

  • WAN— 图像转视频,可配置音频,5秒-21秒
  • Sora— 需要--aspect-ratio,使用--skip-audio-param
  • 跑道— 视频到视频转换

提示与创意

🔍 网络搜索 + LLM = 研究助手

使用--web-search on --web-citations来构建研究流程。Venice 搜索网络、综合结果并引用来源——全部在一次 API 调用中完成。

🔓 无审查创意内容

Venice 的无审查模型适用于文本和图像。没有护栏阻碍合法的创意使用场景。

🎯 智能体提示缓存

如果您正在运行一个重复发送相同系统提示的智能体循环,请使用--cache-key以实现高达 90% 的成本节省。

🎤 音频处理流程

结合 TTS 和转录:使用tts生成语音内容,使用transcribe处理音频。两者均为私有推理。

🎬 视频工作流

  1. 生成或查找基础图像
  2. 使用--quote来估算视频成本
  3. 根据适当的时长/模型生成
  4. 视频生成需要1-5分钟,具体取决于设置

故障排除

问题解决方案
未设置VENICE_API_KEY设置环境变量或在~/.clawdbot/clawdbot.json
中配置API密钥无效请到
venice.ai/settings/api验证找不到模型运行--list-models查看可用模型;对于新模型请使用
--no-validate选项请求受限检查
视频卡住视频可能需要1-5分钟;对于较长的视频请使用--timeout 600资源

API文档

免责申明
部分文章来自各大搜索引擎,如有侵权,请与我联系删除。
打赏
文章底部电脑广告
手机广告位-内容正文底部

相关文章

您是本站第326232名访客 今日有219篇新文章/评论