LogoNanoPhoto.AI Docs
LogoNanoPhoto.AI Docs
ホームページDocumentation

Getting Started

Getting Started

User Guide

User Guide

API

API ReferenceSora Watermark Removal APIVideo Reverse Prompt API

Use Cases

Sora 2 TVC Ad Creation

FAQ

FAQ
X (Twitter)

API Reference

NanoPhoto.AI API documentation - integrate AI video and image generation into your applications.

Overview

NanoPhoto.AI provides a REST API for integrating AI generation capabilities into your applications.

Base URL: https://nanophoto.ai

Authentication

All API requests require authentication via an API Key passed as a Bearer token in the Authorization header.

Authorization: Bearer YOUR_API_KEY

Obtaining an API Key

  1. Sign in to nanophoto.ai
  2. Go to Settings > API Keys
  3. Create a new API key

Important

Keep your API key secure. Do not share it publicly or commit it to version control.

Rate Limiting

  • Default rate limit: 100 requests per hour per API key
  • If you need higher limits, contact support@nanophoto.ai

When rate limited, the API returns a 429 status code:

{
  "success": false,
  "error": "API key rate limit exceeded. Default: 100 requests/hour. Contact support@nanophoto.ai for higher limits.",
  "errorCode": "API_KEY_RATE_LIMIT_EXCEEDED"
}

Common Error Codes

errorCodeHTTP StatusDescription
LOGIN_REQUIRED401Authentication required
API_KEY_RATE_LIMIT_EXCEEDED429Rate limit exceeded
INVALID_INPUT400Missing required parameters
INTERNAL_ERROR500Internal server error

Available APIs

Sora Watermark Removal

Remove watermarks from Sora 2 generated videos.

Video Reverse Prompt

Analyze videos to extract detailed shot breakdowns and prompts.

User Guide

Learn how to use all NanoPhoto.AI features including video generation, image generation, and prompt tools.

Sora Watermark Removal API

API for removing watermarks from Sora 2 generated videos.

Table of Contents

Overview
Authentication
Obtaining an API Key
Rate Limiting
Common Error Codes
Available APIs