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