๐Ÿš€ RegiAI API

Integrate powerful AI image processing tools into your applications.

๐Ÿš€ Quick Start

1. Get Your API Token

First, create an API token in your dashboard:

# Visit your dashboard to generate a token
curl -H "Authorization: Bearer regi_your_token_here"
Sign In to Get Started

2. Make Your First Request

Process an image with our API:

# Remove watermark from image
curl -X POST https://regiai.com/api/v1/process \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"tool": "watermark-remover", "image": "IMAGE_URL"}'

๐Ÿ› ๏ธ Available Tools

โšก AI-Powered Tools

๐ŸŽฏ
AI Watermark Remover
$0.10
๐Ÿ–ผ๏ธ
AI Background Remover
$0.10
๐Ÿ‘ฅ
AI Face Swap
$0.01
โœจ
AI Photo Restoration
$0.10
๐Ÿ”
AI Image Unblur
$0.05
๐ŸŒ
Google Nano Banana
$0.10
๐Ÿฆธ
Action Figure Generator
$0.10
๐Ÿ”
AI Image Describer
$0.01
๐Ÿ“
AI Picture Answer
$0.01

๐Ÿ’Ž Premium API Access: All tools require payment and are powered by advanced AI models for professional results.

๐Ÿ“ก API Endpoints

Base URL

https://regiai.com/api/v1
GET /tools

Get list of available tools and their pricing.

curl https://regiai.com/api/v1/tools
POST /process

Process an image with the specified tool.

Request Body:

{
  "tool": "watermark-remover",
  "image": "https://example.com/image.jpg",
  "parameters": {}
}

Example:

curl -X POST https://regiai.com/api/v1/process \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"tool": "resize-image", "image": "IMAGE_URL", "parameters": {"width": 800, "height": 600}}'
AUTH /tokens

Manage your API tokens (requires authentication).

GET /tokens

List your tokens

POST /tokens

Create new token

PUT /tokens/{id}

Update token

DELETE /tokens/{id}

Delete token

๐Ÿ“„ Response Format

โœ“ Success Response

{
  "success": true,
  "result_url": "https://...",
  "processing_time": "2.3s",
  "credits_used": 0.10,
  "remaining_credits": 9.90
}

โœ— Error Response

{
  "success": false,
  "message": "Insufficient balance",
  "required_balance": 0.10,
  "current_balance": 0.05
}

โšก Rate Limits

โฑ๏ธ

Per Minute

60

requests per minute

๐Ÿ“Š

Per Hour

1,000

requests per hour

๐Ÿš€

File Size

10MB

maximum file size

๐Ÿ’ป Code Examples

JS JavaScript

// Single image tools (watermark-remover, background-remover, photo-restoration, image-unblur)
const response = await fetch('https://regiai.com/api/v1/process', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    tool: 'watermark-remover',
    image: 'data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQ...' // base64 or URL
  })
});

// Face swap (requires two images)
const faceSwapResponse = await fetch('https://regiai.com/api/v1/process', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    tool: 'face-swap',
    image: 'data:image/jpeg;base64,...', // face to extract
    target_image: 'data:image/jpeg;base64,...' // target image
  })
});

const result = await response.json();
console.log(result.result_url);

PY Python

import requests

response = requests.post('https://regiai.com/api/v1/process',
  headers={'Authorization': 'Bearer YOUR_TOKEN'},
  json={
    'tool': 'background-remover',
    'image': 'https://example.com/image.jpg'
  }
)

result = response.json()
print(result['result_url'])

PHP PHP

$ch = curl_init('https://regiai.com/api/v1/process');
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
  'Authorization: Bearer YOUR_TOKEN',
  'Content-Type: application/json'
]);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([
  'tool' => 'resize-image',
  'image' => 'https://example.com/image.jpg',
  'parameters' => ['width' => 800, 'height' => 600]
]));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
$result = json_decode($response, true);
echo $result['result_url'];

๐ŸŒ Google Nano Banana API

๐ŸŒ

Google Nano Banana

Advanced AI image generation from text prompts and image enhancement

$0.10

๐Ÿ“ Request Parameters

tool required

Must be "nano-banana"

"tool": "nano-banana"
prompt required

Text description of the image to generate (max 1000 chars)

"prompt": "A beautiful sunset over mountains"
image optional

Base64 encoded image data for enhancement/modification

"image": "data:image/jpeg;base64,/9j/4AAQ..."
aspect_ratio optional

Image aspect ratio (default: "1:1")

Options: "1:1", "16:9", "9:16", "4:3", "3:4", "3:2", "2:3"
output_format optional

Output image format (default: "jpg")

Options: "jpg", "png"
output_quality optional

Image quality 1-100 (default: 80)

"output_quality": 90
safety_tolerance optional

Content safety level 1-5 (default: 2)

"safety_tolerance": 2

๐Ÿ’ป Example Usage

Text-to-Image Generation
curl -X POST https://regiai.com/api/v1/process \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "nano-banana",
    "prompt": "A majestic dragon flying over a medieval castle at sunset, digital art style",
    "aspect_ratio": "16:9",
    "output_format": "png",
    "output_quality": 95
  }'
Image Enhancement
curl -X POST https://regiai.com/api/v1/process \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "nano-banana",
    "prompt": "Transform this into a vibrant digital artwork with enhanced colors",
    "image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQ...",
    "aspect_ratio": "1:1",
    "safety_tolerance": 3
  }'
Success Response
{
  "success": true,
  "result_url": "https://cdn.regiai.com/generated/nano-banana-12345.png",
  "processing_time": "8.2s",
  "credits_used": 0.10,
  "remaining_credits": 9.90,
  "generation_id": "gen_abc123",
  "model": "Google Nano Banana"
}

๐ŸŽฏ Use Cases

๐ŸŽจ
Creative Art

Generate unique digital artwork, illustrations, and creative visuals from text descriptions

๐Ÿ“ธ
Photo Enhancement

Enhance existing photos with AI-powered style transfers and artistic effects

๐Ÿข
Commercial Use

Create marketing visuals, product mockups, and professional graphics for business

๐Ÿฆธ Action Figure Generator API

๐Ÿฆธ

Action Figure Generator

Generate custom ultra-realistic action figure packaging with AI

$0.10

๐Ÿ“ Request Parameters

template_id required

Action figure template identifier

"template_id": "superhero_male"
face_image required

Base64 encoded face image to apply to the action figure

"face_image": "data:image/jpeg;base64,/9j/4AAQ..."

๐Ÿ’ป Example Usage

Generate Action Figure
curl -X POST https://regiai.com/api/action-figure/generate \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "template_id": "superhero_male",
    "face_image": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQ..."
  }'
Success Response
{
  "success": true,
  "output_url": "https://cdn.regiai.com/generated/action-figure-12345.png",
  "generation_id": 12345,
  "cost": 0.10,
  "message": "Action figure generated successfully!"
}

๐ŸŽฏ Use Cases

๐ŸŽ
Personalized Gifts

Create custom action figures for birthdays, special occasions, and unique gift ideas

๐ŸŽฎ
Gaming Avatars

Generate action figure representations of gaming characters and player avatars

๐Ÿ“ฑ
Social Media Content

Create fun and engaging social media posts with personalized action figures

โ“ Frequently Asked Questions

Need Help?

Our team is here to help you integrate RegiAI into your applications.

Contact Support