RegiAI API Documentation

Integrate powerful AI image processing tools into your applications

🚀 Quick Start

1. Get Your API Token

Create an API token in your dashboard:

curl -H "Authorization: Bearer regi_your_token_here"
Sign In to Get Started

2. Make Your First Request

Process an image with our API:

curl -X POST https://regiai.com/api/v1/process \
  -H "Authorization: Bearer TOKEN" \
  -d '{"tool": "watermark-remover"}'

🔐 Authentication

All API requests require authentication using Bearer tokens. Include your API token in the Authorization header:

Authorization: Bearer regi_your_api_token_here

⚠️ Security: Never expose your API tokens in client-side code or public repositories.

🛠️ Available Tools

🧹
AI Watermark Remover
$0.10
✂️
Background Remover
$0.10
📸
AI Photo Restoration
$0.10
🪪
AI Professional Headshot
$0.10
💧
AI Image Unblur
$0.05
🍌
AI Google Nano Banana
$0.10
📺
AI YouTube Thumbnail Generator
$0.10
🦸
AI Action Figure Generator
$0.10
🔍
AI Image Describer
$0.01
📝
AI Picture Answer
$0.01
🔍
AI Image Upscaler
$0.03
📄
AI Image to Text (OCR)
$0.01

🧹 AI Watermark Remover API

🧹

AI Watermark Remover

Remove watermarks, logos, and text from images

$0.10

Example Request

curl -X POST https://regiai.com/api/v1/process \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "watermark-remover",
    "image": "https://example.com/image.jpg"
  }'

Response

{
  "success": true,
  "result_url": "https://cdn.../result.jpg",
  "credits_used": 0.10
}

✂️ Background Remover API

✂️

Background Remover

Remove backgrounds from images with AI precision

$0.10

Example Request

curl -X POST https://regiai.com/api/v1/process \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "background-remover",
    "image": "https://example.com/image.jpg"
  }'

Response

{
  "success": true,
  "result_url": "https://cdn.../result.png",
  "credits_used": 0.10
}

📸 AI Photo Restoration API

📸

AI Photo Restoration

Restore old photos with AI enhancement

$0.10

Example Request

curl -X POST https://regiai.com/api/v1/process \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "photo-restoration",
    "image": "https://example.com/old-photo.jpg"
  }'

Response

{
  "success": true,
  "result_url": "https://cdn.../restored.jpg",
  "credits_used": 0.10
}

🪪 AI Professional Headshot API

🪪

AI Professional Headshot

Create professional headshots from any photo

$0.10

Example Request

curl -X POST https://regiai.com/api/v1/process \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "professional-headshot",
    "image": "https://example.com/photo.jpg"
  }'

Response

{
  "success": true,
  "result_url": "https://cdn.../headshot.jpg",
  "credits_used": 0.10
}

💧 AI Image Unblur API

💧

AI Image Unblur

Remove blur and enhance image clarity

$0.05

Example Request

curl -X POST https://regiai.com/api/v1/process \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "image-unblur",
    "image": "https://example.com/blurry.jpg"
  }'

Response

{
  "success": true,
  "result_url": "https://cdn.../sharp.jpg",
  "credits_used": 0.05
}

🍌 AI Google Nano Banana API

🍌

AI Google Nano Banana

AI image generation and enhancement

$0.10

Example Request

curl -X POST https://regiai.com/api/v1/process \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "nano-banana",
    "prompt": "A beautiful sunset"
  }'

Response

{
  "success": true,
  "result_url": "https://cdn.../generated.jpg",
  "credits_used": 0.10
}

📺 AI YouTube Thumbnail Generator API

📺

AI YouTube Thumbnail Generator

Generate professional YouTube thumbnails with AI using templates OR custom images

$0.10

💡 Note: YouTube thumbnail generation supports TWO modes:
1. Template-based: Use template_id to select from pre-made templates (browse via templates endpoint)
2. Custom image: Upload your own image using custom_image (base64 or URL)
You must provide EITHER template_id OR custom_image.

Example Request (Template)

curl -X POST https://regiai.com/api/v1/process \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "youtube-thumbnail",
    "template_id": 123,
    "title_text": "10 AMAZING Tips!",
    "style_prompt": "vibrant colors, bold text"
  }'

Example Request (Custom Image)

curl -X POST https://regiai.com/api/v1/process \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "youtube-thumbnail",
    "custom_image": "data:image/jpeg;base64,...",
    "title_text": "MY CUSTOM THUMBNAIL",
    "style_prompt": "gaming style, neon colors"
  }'

Response

{
  "success": true,
  "result_url": "https://cdn.../thumbnail.jpg",
  "processing_time": "25.5s",
  "credits_used": 0.10,
  "remaining_credits": 9.90
}

Parameters

template_id conditional integer

The ID of the thumbnail template to use. Required if custom_image is not provided. Get templates from the free templates endpoint.

custom_image conditional string (base64 or URL, max 20MB)

Your custom image to use as the base for thumbnail generation. Required if template_id is not provided. Can be base64 encoded image data or a public URL.

title_text optional string (max 200)

The text to display on the thumbnail. AI will add bold, eye-catching typography.

style_prompt optional string (max 500)

Additional style instructions like "vibrant colors", "professional look", "gaming style", etc.

🦸 AI Action Figure Generator API

🦸

AI Action Figure Generator

Generate custom ultra-realistic action figures

$0.10

Example Request

curl -X POST https://regiai.com/api/action-figure/generate \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "template_id": "superhero_male",
    "face_image": "data:image/jpeg;base64,..."
  }'

Response

{
  "success": true,
  "output_url": "https://cdn.../figure.png",
  "cost": 0.10
}

🔍 AI Image Describer API

🔍

AI Image Describer

Get detailed AI descriptions of images

$0.01

Example Request

curl -X POST https://regiai.com/api/ai-image-describer/describe \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://example.com/image.jpg"
  }'

Response

{
  "success": true,
  "description": "A sunset over...",
  "cost": 0.01
}

📝 AI Picture Answer API

📝

AI Picture Answer

Solve problems from images with AI

$0.01

Example Request

curl -X POST https://regiai.com/api/ai-picture-answer/solve \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "https://example.com/problem.jpg"
  }'

Response

{
  "success": true,
  "solution": "Step by step...",
  "cost": 0.01
}

🔍 AI Image Upscaler API

🔍

AI Image Upscaler

Enhance image resolution and quality using Clarity Upscaler AI

$0.03

Features

  • ✅ Up to 4x upscaling - Increase resolution by 2x, 3x, or 4x
  • ✅ Portrait optimization - Specially trained for faces and portraits
  • ✅ High-quality output - Professional-grade PNG output
  • ✅ Clarity AI powered - Advanced upscaling algorithm

Example Request

curl -X POST https://regiai.com/api/ai-image-upscaler/upscale \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: multipart/form-data" \
  -F "image=@/path/to/image.jpg" \
  -F "scale_factor=2"

Response

{
  "success": true,
  "upscaled_url": "https://...",
  "original_url": "https://...",
  "scale_factor": 2,
  "generation_id": 123
}

Use Cases

📸 Photo Enhancement

Upscale low-resolution photos for printing or high-quality display

👤 Portrait Improvement

Enhance facial features and portrait quality with AI optimization

🎨 Digital Art Scaling

Scale up digital artwork while maintaining quality and details

📱 Social Media

Prepare images for high-resolution social media platforms

Parameters

image required

Image file to upscale (multipart/form-data). Max 10MB.

scale_factor optional

Upscale factor: 2, 3, or 4 (default: 2). Higher values increase resolution more but take longer.

🎯 AI Identifier API

🎯

AI Identifier

Ask questions and get AI responses with optional image analysis. Flexible prompts for any task.

$0.01

Features

  • ✅ Custom user prompts - Ask any question with or without images
  • ✅ Custom system prompts - Define the AI's behavior and expertise
  • ✅ Optional image analysis - Works as text-only chatbot or with images
  • ✅ Flexible responses - Perfect for general questions or image analysis

Example Request (With Image)

curl -X POST https://regiai.com/api/ai-identifier/identify \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: multipart/form-data" \
  -F "image=@/path/to/image.jpg" \
  -F "prompt=What breed is this dog?" \
  -F "system_prompt=You are a veterinary expert."

Response

{
  "success": true,
  "result": "This is a Golden Retriever...",
  "image_url": "https://...",
  "prompt_used": "What breed is this dog?",
  "system_prompt_used": "You are a veterinary expert.",
  "generation_id": 12345
}

Example Request (Text-Only)

curl -X POST https://regiai.com/api/ai-identifier/identify \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: multipart/form-data" \
  -F "prompt=Explain quantum computing in simple terms" \
  -F "system_prompt=You are a science educator."

Response

{
  "success": true,
  "result": "Quantum computing uses...",
  "prompt_used": "Explain quantum computing...",
  "system_prompt_used": "You are a science educator.",
  "generation_id": 12346
}

💡 Use Cases

With Images - Product Identification: "What product is this? Include brand and model."

With Images - Medical Analysis: System: "You are a medical expert." Prompt: "Describe any visible symptoms."

With Images - Fashion Analysis: "Identify the clothing items and suggest similar styles."

Text-Only - General Questions: "Explain quantum physics" or "Write a poem about nature"

Text-Only - Expert Advice: System: "You are a lawyer." Prompt: "What is intellectual property?"

Parameters

image optional

The image file to analyze (max 10MB). If omitted, works as text-only AI.

prompt required

Your question or instruction (max 2000 chars). Works with or without images.

system_prompt optional

Define the AI's expertise and behavior (max 1000 chars). Default: "You are a helpful AI assistant."

📄 AI Image to Text (OCR) API

📄

AI Image to Text (OCR)

Extract text from images using advanced OCR technology

$0.01

Features

  • ✅ Multi-language support - Extract text in any language (English, Hindi, Tamil, Arabic, Chinese, etc.)
  • ✅ Unicode support - Returns clean, unescaped text in native scripts
  • ✅ High accuracy - Powered by Torii OCR technology
  • ✅ Fast processing - Get results in seconds
  • ✅ Character & word count - Includes metadata about extracted text

Example Request

curl -X POST https://regiai.com/api/ai-image-to-text/extract \
  -H "Authorization: Bearer TOKEN" \
  -H "Content-Type: multipart/form-data" \
  -F "image=@/path/to/document.jpg"

Response

{
  "success": true,
  "text": "दिए गए प्रश्नों के उत्तर दें...",
  "generation_id": 4539,
  "character_count": 3274,
  "word_count": 54
}

Use Cases

📚 Document Digitization

Convert scanned documents, PDFs, and book pages to editable text

📝 Homework & Education

Extract text from homework, assignments, and study materials

🌐 Translation Prep

Extract foreign language text for translation workflows

💼 Business Processing

Extract text from receipts, invoices, and business documents

💡 Note

The API returns text with proper Unicode encoding - no escape sequences! This means you'll get native scripts like:

  • • Hindi: दिए गए प्रश्नों के उत्तर दें
  • • Arabic: مرحبا بك
  • • Chinese: 你好
  • • Tamil: வணக்கம்

Parameters

image required

The image file to extract text from (max 10MB). Supports JPG, PNG, WebP.

Response Fields

success boolean

Whether the operation was successful

text string

The extracted text with proper Unicode encoding (no escape sequences)

generation_id integer

Unique ID for this operation

character_count integer

Total number of characters extracted

word_count integer

Total number of words extracted

🆓 Free API Endpoints

📺

YouTube Thumbnail Templates

Browse all available YouTube thumbnail templates

FREE
GET https://regiai.com/api/youtube-thumbnails/templates?category=gaming&per_page=20
🦸

Action Figure Templates

Browse all available action figure templates

FREE
GET https://regiai.com/api/action-figures/templates?category=heroes&gender=male

Frequently Asked Questions