Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

deapi-communitydeapi 社区

Agent Skill

deapi-community 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

8,337

周安装

334

GitHub Stars

1

下载量

2,699
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:deapi-community(deapi 社区)
来源仓库:https://github.com/zrewolwerowanykaloryfer/deapi-community
安装命令:
openclaw skills install deapi-community
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install deapi-community

简介

集成 Flux、AceStep 等 AI 媒体 API,提供图像、音乐、视频生成与语音克隆服务。

  • 适合低成本批量生成创意素材或自动化媒体内容的研究检索需求。
  • 按需提供图像描述、音频文本或视频参数,返回结构化媒体资源链接。
  • 部分功能可能受地区或服务商限制,使用前请验证可用性。
  • deapi-community 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
deAPI AI Media Suite (Community)
description
The cheapest AI media API on the market. Generate images (Flux), music (AceStep), speech with voice cloning, transcribe video/audio, OCR, video generation, background removal, upscale, style transfer, and prompt enhancement — all through one unified API. Free $5 credit on signup.
homepage
https://deapi.ai
source
https://github.com/zrewolwerowanykaloryfer/deapi-clawdbot-skill
author
zrewolwerowanykaloryfer
license
MIT
requiredEnv
metadata
{"clawdbot":{"requires":{"env":["DEAPI_API_KEY"]}}}
tags

deAPI Media Generation

AI-powered media tools via decentralized GPU network. Get your API key at deapi.ai (free $5 credit on signup).

Setup

export DEAPI_API_KEY=your_api_key_here

Available Functions

FunctionUse when user wants to...
Transcribe (URL)Transcribe YouTube, Twitch, Kick, X videos, or audio URLs
Transcribe (File)Transcribe uploaded local audio/video file
Generate ImageGenerate images from text descriptions (Flux models)
Generate AudioConvert text to speech (TTS, 54+ voices, 8 languages)
Clone VoiceClone a voice from short audio sample (3-10s)
Design VoiceCreate new voice from text description
Generate MusicGenerate music tracks, jingles, songs with vocals (AceStep)
Generate VideoCreate video from text or animate images
Boost PromptImprove prompt quality before generation
OCRExtract text from images
Remove BackgroundRemove background from images
UpscaleUpscale image resolution (2x/4x)
Transform ImageApply style transfer to images (multi-image support)
EmbeddingsGenerate text embeddings for semantic search
Check BalanceCheck account balance
Discover ModelsList available models dynamically

Agent Safety: Input Sanitization

All curl examples use placeholders. Before substituting user input into shell commands:

  1. JSON payloads — build JSON safely with jq, never inline raw strings:
   # ❌ UNSAFE — shell injection risk
   curl -d '{"prompt": "{USER_INPUT}"}'

   # ✅ SAFE — jq handles all escaping
   JSON=$(jq -n --arg p "$USER_INPUT" '{"prompt": $p}')
   curl -d "$JSON"
  1. URLs — validate format before use:
   if [[ ! "$URL" =~ ^https?:// ]]; then
     echo "Invalid URL"; exit 1
   fi
  1. File paths — verify file exists, use @ prefix only with validated local paths:
   [[ -f "$FILE_PATH" ]] && curl -F "image=@$FILE_PATH"
  1. Never pass raw user input directly into shell strings without escaping.

Async Pattern (Important!)

All deAPI requests are asynchronous. Follow this pattern for every operation:

1. Submit Request

curl -s -X POST "https://api.deapi.ai/api/v1/client/{endpoint}" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d "$JSON"

Response contains request_id.

2. Poll Status (loop every 10 seconds)

curl -s "https://api.deapi.ai/api/v1/client/request-status/{request_id}" \
  -H "Authorization: Bearer $DEAPI_API_KEY"

3. Handle Status

  • processing → wait 10s, poll again
  • done → fetch result from result_url
  • failed → report error to user

Common Error Handling

ErrorAction
401 UnauthorizedCheck DEAPI_API_KEY
429 Rate LimitedWait 60s and retry
500 Server ErrorWait 30s and retry once

Model Selection Guide

Image generation (txt2img):

  • Quick drafts / iterations → Klein (fastest)
  • Photorealistic / detailed scenes → Flux1schnell (steps=8)
  • Speed critical → ZImageTurbo

Image transformation (img2img):

  • Logo/brand placement on objects → Qwen (preserves source better)
  • Style transfer / artistic → Klein (faster, creative freedom)
  • Combining multiple images → Klein (supports up to 3 images)

Video generation:

  • Best quality → LTX-2 19B (no steps/guidance needed)
  • Image animation → LTXv 13B (supports first_frame_image)

TTS:

  • Quick narration → custom_voice + Kokoro
  • Clone specific voice → voice_clone + reference audio
  • Create new voice from description → voice_design

Music:

  • Fast iteration → ACE-Step-v1.5-turbo (8 steps)
  • Production quality → ACE-Step-v1.5 (32+ steps)

Tip: Model slugs change. When in doubt, call GET /api/v1/client/models to get the current list.


Discover Available Models

Models change over time. Query the live list:

curl -s "https://api.deapi.ai/api/v1/client/models" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -H "Accept: application/json"

Filter by task type:

# Only txt2img models
curl -s "https://api.deapi.ai/api/v1/client/models?filter[inference_types]=txt2img" \
  -H "Authorization: Bearer $DEAPI_API_KEY"

Each model returns: slug (use in requests), inference_types, info.limits, info.defaults, languages (TTS), loras (image).


Transcription (URL — YouTube, Audio, Video)

Use when: user wants to transcribe video from YouTube, X, Twitch, Kick or audio URLs.

Endpoints:

  • Video (YouTube, mp4, webm): vid2txt
  • Audio (mp3, wav, m4a, flac, ogg): aud2txt

Request (video):

JSON=$(jq -n --arg url "$VIDEO_URL" '{
  video_url: $url,
  include_ts: true,
  model: "WhisperLargeV3"
}')
curl -s -X POST "https://api.deapi.ai/api/v1/client/vid2txt" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d "$JSON"

Request (audio):

JSON=$(jq -n --arg url "$AUDIO_URL" '{
  audio_url: $url,
  include_ts: true,
  model: "WhisperLargeV3"
}')
curl -s -X POST "https://api.deapi.ai/api/v1/client/aud2txt" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d "$JSON"

After polling: Present transcription with timestamps in readable format.


Transcription (File Upload)

Use when: user has a local audio/video file to transcribe (not a URL).

Endpoints:

  • Video file: videofile2txt (multipart/form-data)
  • Audio file: audiofile2txt (multipart/form-data)

Request (audio file):

[[ -f "$AUDIO_PATH" ]] || { echo "File not found"; exit 1; }
curl -s -X POST "https://api.deapi.ai/api/v1/client/audiofile2txt" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -F "audio=@$AUDIO_PATH" \
  -F "include_ts=true" \
  -F "model=WhisperLargeV3"

Request (video file):

[[ -f "$VIDEO_PATH" ]] || { echo "File not found"; exit 1; }
curl -s -X POST "https://api.deapi.ai/api/v1/client/videofile2txt" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -F "video=@$VIDEO_PATH" \
  -F "include_ts=true" \
  -F "model=WhisperLargeV3"

Image Generation (Flux)

Use when: user wants to generate images from text descriptions.

Endpoint: txt2img

Models:

ModelAPI NameStepsMax SizeNotes
Klein (default)Flux_2_Klein_4B_BF164 (fixed)1536pxFastest, recommended
FluxFlux1schnell4-102048pxHigher resolution
TurboZImageTurbo_INT84-101024pxFastest inference

Request:

JSON=$(jq -n --arg prompt "$PROMPT" --argjson seed "$RANDOM" '{
  prompt: $prompt,
  model: "Flux_2_Klein_4B_BF16",
  width: 1024,
  height: 1024,
  steps: 4,
  seed: ($seed % 1000000)
}')
curl -s -X POST "https://api.deapi.ai/api/v1/client/txt2img" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d "$JSON"

Note: Klein model does NOT support guidance parameter — omit it.


Text-to-Speech (54+ Voices)

Use when: user wants to convert text to speech.

Endpoint: txt2audio

Popular Voices:

Voice IDLanguageDescription
af_bellaAmerican ENWarm, friendly (best quality)
af_heartAmerican ENExpressive, emotional
am_adamAmerican ENDeep, authoritative
bf_emmaBritish ENElegant (best British)
jf_alphaJapaneseNatural Japanese female
zf_xiaobeiChineseMandarin female
ef_doraSpanishSpanish female
ff_siwisFrenchFrench female (best quality)

Voice format: {lang}{gender}_{name} (e.g., af_bella = American Female Bella)

TTS Mode 1: Custom Voice (default)

Use a predefined voice from the list above.

JSON=$(jq -n --arg text "$TEXT" '{
  text: $text,
  voice: "af_bella",
  model: "Kokoro",
  lang: "en-us",
  speed: 1.0,
  format: "mp3",
  sample_rate: 24000
}')
curl -s -X POST "https://api.deapi.ai/api/v1/client/txt2audio" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d "$JSON"

Parameters:

  • lang: en-us, en-gb, ja, zh, es, fr, hi, it, pt-br
  • speed: 0.5-2.0
  • format: mp3/wav/flac/ogg
  • sample_rate: 22050/24000/44100/48000

TTS Mode 2: Voice Clone

Clone a voice from a short audio sample (3-10 seconds, max 10MB).

[[ -f "$REF_AUDIO" ]] || { echo "Reference audio not found"; exit 1; }
curl -s -X POST "https://api.deapi.ai/api/v1/client/txt2audio" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -F "text=$TEXT" \
  -F "model=Kokoro" \
  -F "mode=voice_clone" \
  -F "ref_audio=@$REF_AUDIO" \
  -F "ref_text=$REF_TRANSCRIPT" \
  -F "lang=en-us" \
  -F "speed=1.0" \
  -F "format=mp3" \
  -F "sample_rate=24000"
ParameterRequiredDescription
modeYesvoice_clone
ref_audioYesAudio file (mp3/wav/flac/ogg/m4a), 3-10s, max 10MB
ref_textNoTranscript of reference audio (improves accuracy)

TTS Mode 3: Voice Design

Generate a voice from a text description.

JSON=$(jq -n --arg text "$TEXT" --arg instruct "$VOICE_DESCRIPTION" '{
  text: $text,
  model: "Kokoro",
  mode: "voice_design",
  instruct: $instruct,
  lang: "en-us",
  speed: 1.0,
  format: "mp3",
  sample_rate: 24000
}')
curl -s -X POST "https://api.deapi.ai/api/v1/client/txt2audio" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d "$JSON"
ParameterRequiredDescription
modeYesvoice_design
instructYesNatural language voice description (e.g. "A warm female voice with a slight British accent")

Music Generation (AceStep 1.5)

Use when: user wants to generate music tracks, jingles, or songs with vocals.

Endpoint: txt2music

Models:

ModelSlugStepsDurationNotes
AceStep 1.5 TurboACE-Step-v1.5-turbo810-600sFast, recommended
AceStep 1.5ACE-Step-v1.532+10-600sHigher quality, slower

Request:

JSON=$(jq -n --arg caption "$CAPTION" --arg lyrics "$LYRICS" '{
  caption: $caption,
  model: "ACE-Step-v1.5-turbo",
  lyrics: $lyrics,
  duration: 30,
  bpm: 120,
  keyscale: "C major",
  timesignature: 4,
  inference_steps: 8,
  guidance_scale: 7,
  seed: -1,
  format: "mp3"
}')
curl -s -X POST "https://api.deapi.ai/api/v1/client/txt2music" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d "$JSON"

Parameters:

ParameterRequiredRangeDescription
captionYesText description of music style
modelYesModel slug
lyricsNoLyrics text. Use "[Instrumental]" for no vocals
durationYes10–600 secTrack duration
bpmNo30–300Beats per minute
keyscaleNoMusical key (e.g. "C major", "F# minor")
timesignatureNo2/3/4/6Time signature
vocal_languageNoLanguage code for vocals (en, es, fr, etc.)
inference_stepsYes1–100Use 8 for turbo, 32+ for base
guidance_scaleYes0–20Classifier-free guidance
seedYes-1 or 0+-1 = random
formatYesmp3/wav/flac/oggOutput format

Tips:

  • Turbo model with 8 steps is enough for most use cases
  • For higher quality: base model with 32+ steps
  • [Instrumental] in lyrics → track without vocals
  • Duration > 120s may be more expensive — start shorter

Prompt Enhancement (Boosters)

Use when: user wants to improve prompt quality before generating images/video/speech.

Endpoints:

BoosterEndpointUse Case
Image PromptPOST /prompt/imageImprove txt2img prompts
Video PromptPOST /prompt/videoImprove txt2video/img2video prompts
Speech PromptPOST /prompt/speechImprove TTS text
Img2Img PromptPOST /prompt/image2imageImprove img2img prompts
Sample PromptsGET /prompts/samplesGenerate creative prompt ideas

Request (Image Booster):

JSON=$(jq -n --arg p "$PROMPT" '{"prompt": $p}')
curl -s -X POST "https://api.deapi.ai/api/v1/client/prompt/image" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d "$JSON"

Response:

{
  "prompt": "A majestic cat floating in outer space, surrounded by stars and galaxies, cosmic nebula colors, cinematic lighting, ultra-detailed, 8K",
  "negative_prompt": "blurry, low quality, distorted, deformed"
}

Sample Prompts Generator:

curl -s "https://api.deapi.ai/api/v1/client/prompts/samples?type=text2image&topic=cyberpunk" \
  -H "Authorization: Bearer $DEAPI_API_KEY"

Tip: Use boosters before sending prompts to generation — output quality improves significantly.


Video Generation

Use when: user wants to generate video from text or animate an image.

Endpoints:

  • Text-to-Video: txt2video (multipart/form-data)
  • Image-to-Video: img2video (multipart/form-data)

Models:

ModelSlugMax SizeFPSFramesNotes
LTX-2 19B (preferred)Ltx2_19B_Dist_FP81024x102424 (fixed)49-241Best quality, no steps/guidance params
LTX-Video 13BLtxv_13B_0_9_8_Distilled_FP8768x76830 (fixed)30-120steps=1, guidance=0 required

Request (text-to-video, LTX-2 — preferred):

curl -s -X POST "https://api.deapi.ai/api/v1/client/txt2video" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -F "prompt=$PROMPT" \
  -F "model=Ltx2_19B_Dist_FP8" \
  -F "width=768" \
  -F "height=768" \
  -F "frames=120" \
  -F "fps=24" \
  -F "seed=$((RANDOM % 1000000))"

Parameters (LTX-2):

ParameterRequiredConstraintsDescription
promptYesVideo description
modelYesLtx2_19B_Dist_FP8
widthYes512-1024Video width
heightYes512-1024Video height
framesYes49-241Number of frames
fpsYes24 (fixed)Frames per second
seedYes0-999999Random seed
stepsNoDo NOT sendNot supported
guidanceNoDo NOT sendNot supported

Request (image-to-video):

[[ -f "$IMAGE_PATH" ]] || { curl -s -o "$IMAGE_PATH" "$IMAGE_URL"; }
curl -s -X POST "https://api.deapi.ai/api/v1/client/img2video" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -F "first_frame_image=@$IMAGE_PATH" \
  -F "prompt=gentle movement, cinematic" \
  -F "model=Ltxv_13B_0_9_8_Distilled_FP8" \
  -F "width=512" \
  -F "height=512" \
  -F "guidance=0" \
  -F "steps=1" \
  -F "frames=120" \
  -F "fps=30" \
  -F "seed=$((RANDOM % 1000000))"

Note: Video generation can take 1-3 minutes.


OCR (Image to Text)

Use when: user wants to extract text from an image.

Endpoint: img2txt (multipart/form-data)

Request:

[[ -f "$IMAGE_PATH" ]] || { curl -s -o "$IMAGE_PATH" "$IMAGE_URL"; }
curl -s -X POST "https://api.deapi.ai/api/v1/client/img2txt" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -F "image=@$IMAGE_PATH" \
  -F "model=Nanonets_Ocr_S_F16"

Background Removal

Use when: user wants to remove background from an image.

Endpoint: img-rmbg (multipart/form-data)

Request:

[[ -f "$IMAGE_PATH" ]] || { curl -s -o "$IMAGE_PATH" "$IMAGE_URL"; }
curl -s -X POST "https://api.deapi.ai/api/v1/client/img-rmbg" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -F "image=@$IMAGE_PATH" \
  -F "model=Ben2"

Result: PNG with transparent background.


Image Upscale (2x/4x)

Use when: user wants to upscale/enhance image resolution.

Endpoint: img-upscale (multipart/form-data)

Models:

ScaleModel
2xRealESRGAN_x2
4xRealESRGAN_x4

Request:

[[ -f "$IMAGE_PATH" ]] || { curl -s -o "$IMAGE_PATH" "$IMAGE_URL"; }
curl -s -X POST "https://api.deapi.ai/api/v1/client/img-upscale" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -F "image=@$IMAGE_PATH" \
  -F "model=RealESRGAN_x4"

Image Transformation (Style Transfer)

Use when: user wants to transform image style, combine images, or apply AI modifications.

Endpoint: img2img (multipart/form-data)

Models:

ModelAPI NameMax ImagesGuidanceStepsNotes
Klein (default)Flux_2_Klein_4B_BF163N/A (ignore)4 (fixed)Faster, multi-image
QwenQwenImageEdit_Plus_NF417.510-50 (default 20)More control

Request (Klein, supports up to 3 images):

[[ -f "$IMAGE1" ]] || { curl -s -o "$IMAGE1" "$IMAGE_URL_1"; }
curl -s -X POST "https://api.deapi.ai/api/v1/client/img2img" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -F "image=@$IMAGE1" \
  -F "prompt=$STYLE_PROMPT" \
  -F "model=Flux_2_Klein_4B_BF16" \
  -F "steps=4" \
  -F "seed=$((RANDOM % 1000000))"

Request (Qwen, higher quality single image):

[[ -f "$IMAGE1" ]] || { curl -s -o "$IMAGE1" "$IMAGE_URL"; }
curl -s -X POST "https://api.deapi.ai/api/v1/client/img2img" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -F "image=@$IMAGE1" \
  -F "prompt=$STYLE_PROMPT" \
  -F "model=QwenImageEdit_Plus_NF4" \
  -F "guidance=7.5" \
  -F "steps=20" \
  -F "seed=$((RANDOM % 1000000))"

Example prompts: "convert to watercolor painting", "anime style", "cyberpunk neon aesthetic"


Text Embeddings

Use when: user needs embeddings for semantic search, clustering, or RAG.

Endpoint: txt2embedding

Request:

JSON=$(jq -n --arg text "$TEXT" '{
  input: $text,
  model: "Bge_M3_FP16"
}')
curl -s -X POST "https://api.deapi.ai/api/v1/client/txt2embedding" \
  -H "Authorization: Bearer $DEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d "$JSON"

Result: 1024-dimensional vector (BGE-M3, multilingual)


Check Balance

Use when: user wants to check remaining credits.

Request:

curl -s "https://api.deapi.ai/api/v1/client/balance" \
  -H "Authorization: Bearer $DEAPI_API_KEY"

Response: { "data": { "balance": 4.25 } }


Pricing (Approximate)

OperationCost
Transcription~$0.02/hour
Image Generation~$0.002/image
TTS~$0.001/1000 chars
Music Generation~$0.01/track
Video Generation~$0.05/video
OCR~$0.001/image
Remove BG~$0.001/image
Upscale~$0.002/image
Embeddings~$0.0001/1000 tokens

Free $5 credit on signup at deapi.ai.


*Converted from deapi-ai/claude-code-skills for Clawdbot/OpenClaw.*


Security & Privacy Note

This skill provides documentation for the deAPI.ai REST API, a legitimate decentralized AI media service.

Security:

  • All curl commands are examples showing how to call the API
  • Requests go to api.deapi.ai (official deAPI endpoint)
  • Local file paths are placeholders — use any suitable temporary location
  • The skill itself does not execute code or download binaries
  • API key is required and must be set by user via DEAPI_API_KEY environment variable

Input sanitization:

  • All curl examples in this skill use jq for safe JSON construction
  • Agents MUST NOT substitute raw user input directly into shell strings
  • URL inputs should be validated (must start with https://)
  • File paths should be verified before use ([[ -f "$path" ]])

Privacy considerations:

  • Media URLs you submit (YouTube links, images) are sent to deapi.ai for processing
  • Generated results are returned via result_url which may be temporarily accessible via direct link
  • Results are stored on deAPI's infrastructure — review their privacy policy for retention details
  • Do not process sensitive/confidential media without understanding data handling

Provenance:

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

85.48%
按下载量换算2,307

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills