LogoDocumentação NanoPhoto.AI
LogoDocumentação NanoPhoto.AI
Página inicialDocumentation Homepage

Getting Started

Getting Started

User Guide

User Guide

API

API OverviewSora Watermark Removal APIVideo Reverse Prompt APISora 2 Prompt Generator APISora 2 Video Generation APISora 2 TVC Ad APINano Banana Pro Image Generation APINano Banana 2 Image Generation APIVeo 3.1 Video Generation API

OpenClaw Skills

OpenClaw SkillsSora 2 GenerateVeo 3.1Nano Banana ProNano Banana 2Video Prompt GeneratorVideo Reverse PromptSora Watermark RemoverComic Drama Generate

Use Cases

Sora 2 TVC Ad Creation

Billing

Billing & Invoice

FAQ

FAQ
X (Twitter)

Video Prompt Generator

Generate professional Sora 2 video prompts with the NanoPhoto.AI Prompt Generator API via OpenClaw.

Generate polished Sora 2 video prompts through the NanoPhoto.AI Prompt Generator API.

Install: npx clawhub@latest install video-prompt-generator

ClawHub: clawhub.ai/u/nanophotohq

Prerequisites

  1. Obtain an API key at nanophoto.ai/settings/apikeys
  2. Configure NANOPHOTO_API_KEY in your OpenClaw skill settings
{
  "skills": {
    "entries": {
      "video-prompt-generator": {
        "enabled": true,
        "env": {
          "NANOPHOTO_API_KEY": "your_api_key_here"
        }
      }
    }
  }
}

Parameters

ParameterTypeRequiredDescription
topicstringYesScene idea or topic (max 500 chars)
modestringNotextToVideo (default) or imageToVideo
techniquestringNoVisual technique (default: montage)
durationnumberNo10 or 15 seconds
localestringNoOutput language: en, zh, zh-TW, ja, ko, es, fr, de, pt, ru, ar
imageUrlsstring[]ConditionalRequired for imageToVideo mode (1-3 URLs)

Usage

Text-to-Video Prompt

python3 scripts/video_prompt_generator.py \
  --topic "A serene Japanese garden with cherry blossoms falling into a koi pond" \
  --mode textToVideo \
  --technique slow-motion \
  --duration 15 \
  --locale en

Image-to-Video Prompt

python3 scripts/video_prompt_generator.py \
  --topic "Animate this landscape with gentle wind and floating clouds" \
  --mode imageToVideo \
  --technique long-take \
  --duration 10 \
  --locale en \
  --image-url https://example.com/landscape.jpg

Error Codes

CodeCauseAction
LOGIN_REQUIREDInvalid API keyVerify at settings/apikeys
INSUFFICIENT_CREDITSNot enough creditsTop up
INVALID_INPUTMissing or invalid topicProvide a valid topic under 500 chars

Nano Banana 2

Generate or edit images with Google Search enhancement via the NanoPhoto.AI Nano Banana 2 API and OpenClaw.

Video Reverse Prompt

Analyze videos to extract shot breakdowns and AI-ready prompts via the NanoPhoto.AI API and OpenClaw.

Índice

Prerequisites
Parameters
Usage
Text-to-Video Prompt
Image-to-Video Prompt
Error Codes