当前位置: 首页 > Skill >

a2e.ai Full Platform

a2e.ai Full Platform

a2e.ai Full Platform

a2e.ai 完整 API:图像生成(文生图、NanoBanana、GPT Image、Flux2),视频生成(图生视频(支持 LoRA/FLF2V),视频转视频,Kling 3.0、Wan 2.6、Sora…)

2.1.0 2026.11.25 515
获取Skill文件查看使用说明
作 者:陆安 许可证: 更新时间:2026.11.25
本文目录收起

a2e.ai — Full Platform Skill

Complete API access to a2e.ai. A2E-eigene Modelle sind kostenlos für max-user. Premium-Modelle (Wan 2.6, Kling 3.0, Seedance 1.5 Pro etc. — erkennbar am 🔥) kosten Coins.

Auth

source ~/.openclaw/workspace/.env  # loads A2E_KEY

If key expired → Daniel generates new one at https://video.a2e.ai → Account Settings → API Keys

Base URL: https://video.a2e.ai Auth header: Authorization: Bearer $A2E_KEY

Quick CLI — a2e.sh

{baseDir}/scripts/a2e.sh balance                            # Check coins
{baseDir}/scripts/a2e.sh generate "prompt" [WxH] [style]   # Text2Image (general|manga)
{baseDir}/scripts/a2e.sh nano "prompt" [image_url]          # NanoBanana/Gemini
{baseDir}/scripts/a2e.sh faceswap <face_url> <target_url>   # Face Swap
{baseDir}/scripts/a2e.sh headswap <head_url> <target_url>   # Head Swap
{baseDir}/scripts/a2e.sh img2vid <image_url> "prompt"       # Image to Video
{baseDir}/scripts/a2e.sh vid2vid <image_url> <video_url> "prompt"  # Video to Video
{baseDir}/scripts/a2e.sh tts "text" [voice_id]              # Text to Speech
{baseDir}/scripts/a2e.sh voices                             # List TTS voices
{baseDir}/scripts/a2e.sh voiceclone "name" <audio_url>      # Clone a voice
{baseDir}/scripts/a2e.sh avatar <anchor_id> <audio_url>     # AI Avatar video
{baseDir}/scripts/a2e.sh avatars                            # List available avatars
{baseDir}/scripts/a2e.sh talkphoto <image_url> <audio_url>  # Talking Photo
{baseDir}/scripts/a2e.sh talkvideo <video_url> <audio_url>  # Talking Video
{baseDir}/scripts/a2e.sh dub <video_url> <target_lang>      # AI Dubbing
{baseDir}/scripts/a2e.sh caption <video_url>                # Remove captions
{baseDir}/scripts/a2e.sh tryon <person> <mask> <cloth> <cloth_mask>  # Virtual Try-On
{baseDir}/scripts/a2e.sh createavatar "name" <url> [type]   # Create custom avatar (video|image)
{baseDir}/scripts/a2e.sh trainlipsync <avatar_id>           # Train Studio lip-sync on avatar
{baseDir}/scripts/a2e.sh cloneavatarvoice <avatar_id>       # Clone voice from avatar video
{baseDir}/scripts/a2e.sh myavatars                          # List custom avatars
{baseDir}/scripts/a2e.sh removeavatar <avatar_id>           # Delete custom avatar
{baseDir}/scripts/a2e.sh addface <face_image_url>           # Save face for reuse
{baseDir}/scripts/a2e.sh myfaces                            # List saved faces
{baseDir}/scripts/a2e.sh facepreview <face> <target>        # Quick face swap preview
{baseDir}/scripts/a2e.sh backgrounds                        # List avatar backgrounds
{baseDir}/scripts/a2e.sh addbg <image_url>                  # Add custom background
{baseDir}/scripts/a2e.sh upload <url>                       # Save URL to a2e storage
{baseDir}/scripts/a2e.sh presign                            # Get presigned upload URL
{baseDir}/scripts/a2e.sh languages                          # List available languages
{baseDir}/scripts/a2e.sh status <id> <engine>               # Check task status
{baseDir}/scripts/a2e.sh poll <id> <engine>                 # Poll until done

Available Engines (engine names for status/poll)

Engine CLI name Endpoint prefix
Text2Image t2i userText2image
NanoBanana nano userNanoBanana
Face Swap faceswap userFaceSwapTask
Head Swap headswap (TBD)
Image to Video img2vid userImage2Video
Video to Video vid2vid motionTransfer
Avatar Video avatar video
Talking Photo talkphoto talkingPhoto
Talking Video talkvideo talkingVideo
AI Dubbing dub userDubbing
Caption Removal caption userCaptionRemoval
Virtual Try-On tryon virtualTryOn
Voice Clone voiceclone userVoice

Common Async Pattern

All tasks follow the same flow:

  1. POST .../start → get _id + current_status: "initialized"
  2. Poll via GET .../{_id} or .../allRecords until completed
  3. Status: initialized → processing → completed | failed
  4. Result URLs (image_urls, result_url, video_url) expire after ~3 days
  5. On failure: check failed_message + failed_code

Known Quirks

  • NanoBanana GET by _id returns 404 → use allRecords to find tasks
  • Text2Image input_images does NOT work → use NanoBanana for reference images
  • German text in Text2Image often has typos → NanoBanana (Gemini) handles it correctly
  • Result URLs are signed and expire after ~3 days → download/save promptly

Additional Models (Web UI, API endpoints unconfirmed)

These are available on the platform but may not have documented API endpoints yet:

  • Kling 3.0 — Cinema-grade video (text/image/motion modes, sound gen)
  • Wan 2.6 — Cinematic video with synced audio
  • Sora 2 Pro — OpenAI video model
  • Seedance 1.5 Pro — Multi-shot video
  • Veo 3.1 — Google video generation
  • GPT Image 1.5 — OpenAI image model
  • Flux 2 Pro — Black Forest Labs, speed-optimized
  • Grok Imagine — xAI image/video
  • Nano Banana 2 — Next-gen NanoBanana
  • Photobook — Multiple portraits from one photo (relevant for AI Photoshooting DAN-102)

Full API Reference

See {baseDir}/references/api-complete.md for all endpoints with request/response details.

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,034
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,019
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,017
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,014
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,014
Skill 文件
  • SKILL.md
    • a2e.ai — Full Platform Skill
    • Auth
    • Quick CLI — a2e.sh
    • Available Engines (engine names for status/poll)
    • Common Async Pattern
    • Known Quirks
    • Additional Models (Web UI, API endpoints unconfirmed)
    • Full API Reference
  • 项目或源文件

相关 Skill

更多
Poyo Kling 3 0 4k Poyo Kling 3 0 4k 通过 https://api.poyo.ai/api/generate/submit 在 PoYo/poyo.ai 上使用Kling 3.0 生成 4K 视频;适用于 kling-3.0/4K 的文本转视频、起始帧及可选参数。
Poyo Kling 3 0 Turbo Poyo Kling 3 0 Turbo 在 PoYo/poyo.ai 上通过 https://api.poyo.ai/api/generate/submit 生成 Kling 3.0 Turbo 视频;适用于 kling-3.0-turbo/standard、kling-3.0-turbo/pro 等。
Pexo Video Agent Pexo Video Agent AI视频生成技能,自动在Seedance 2、Kling 3.0、HappyHorse及10+模型之间选择,生成完整的多镜头视频(5–120秒)...
Apidot Kling 3 0 Turbo Api Apidot Kling 3 0 Turbo Api 使用 APIDot 实现 Kling 3.0 Turbo API 工作流,支持快速视频预览、Turbo Standard、Turbo Pro、文字转视频、图片转视频等功能。
Apidot Kling 3 0 Api Apidot Kling 3 0 Api 使用 APIDot 实现 Kling 3.0 API 工作流,包括 Kling 3.0 标准版、Kling 3.0 专业版、Kling 3.0 4K、文字转视频 API、图像转视频 API、多镜头视频及 N...