API Collection v3.0 is Live

The Ultimate
Developer API Hub.

Empower your applications with R-Gen's powerful REST APIs. Generate Text, Images, QR Codes, Fake Identities, and download media seamlessly through lightning-fast endpoints.

6+
Active APIs
100%
Free to Use
99.9%
Server Uptime
150ms
Avg Latency

API Documentation

Everything you need to integrate our services into your code.

Access via Telegram Bot
Available APIs

R-GenGPT Chat AI API

High performance text generation API. Conversational AI capable of answering questions, writing code, and logic processing.

GET https://r-gengpt-api.vercel.app/api/chat

Query Parameters

Parameter Requirement Description
prompt Required The user's input or question. URL encoded.

Code Example

Node.js (Fetch)
const prompt = "Hello, who are you?";
const url = `https://r-gengpt-api.vercel.app/api/chat?prompt=${encodeURIComponent(prompt)}`;

fetch(url)
  .then(response => response.text())
  .then(data => console.log(data))
  .catch(error => console.error('Error:', error));
Test Live API
V7.0 Enterprise Model

Flux Image Generation API

Convert text descriptions into ultra-realistic images. Features dynamic aspect ratios, massive prompt engineering, and strict JSON (JSend) responses.

GET https://r-gengpt-api.vercel.app/api/image

Query Parameters

Parameter Type Options / Info
prompt Required Description of the image (e.g., A cyberpunk city).
ar Optional 1:1, 16:9, 9:16, 4:3, 3:4, 21:9
style Optional realistic, anime, cyberpunk, cinematic, none

JS Fetch Example

Fetch API
fetch("https://r-gengpt-api.vercel.app/api/image?prompt=A+beautiful+sunset&style=realistic&ar=16:9")
  .then(res => res.json())
  .then(data => {
      if(data.status === 'success') {
          console.log("Image URL:", data.data.url);
      }
  });
New Release

Advanced QR Code API

Generate high-quality, fully customizable QR codes from any text or URL instantly.

GET https://r-gengpt-api.vercel.app/api/generate-qr

Query Parameters

Parameter Status Description & Example
data Required The URL or text. E.g., https://google.com
size Optional Resolution in pixels. Default: 300. E.g., 500
color Optional Foreground HEX without #. E.g., ff0000
bg Optional Background HEX without #. E.g., ffffff
format Optional Image format: png or svg

cURL Example

Terminal
curl "https://r-gengpt-api.vercel.app/api/generate-qr?data=https://t.me/RGenGPT_Bot&size=500&color=0088cc&bg=ffffff" --output qrcode.png
Enterprise API

Free Fire Player Info API

Fetch comprehensive real-time player data, stats, guild info, and equipped assets using a player's UID. Features 100% uptime with a dynamic fallback engine.

GET https://r-gengpt-api.vercel.app/api/freefire/info

Query Parameters

Parameter Status Description & Example
uid Required The numeric Player ID. E.g., 8008784369
region Optional Server region (bd, ind, sg, etc.). Default: bd

Code Example

Node.js (Fetch)
fetch("https://r-gengpt-api.vercel.app/api/freefire/info?uid=8008784369®ion=bd")
.then(res => res.json())
.then(data => console.log(data));

Fake Identity Generator API

Generates completely random, structured user profiles (Name, Address, Email, Phone, DOB, etc.) for testing and mock data.

GET https://r-gengpt-api.vercel.app/api/fakeuser/

JSON Output Structure

{
  "status": 200,
  "data": {
    "name": "John Doe",
    "gender": "Male",
    "email": "john.doe@example.com",
    "phone": "+1-234-567-8901",
    "country": "United States",
    "address": "123 Mockingbird Ln, NY",
    "dob": "1990-05-14"
  }
}
Test Live API

Social Media Video Downloader API

Extract direct MP4 download links from platforms like YouTube, Facebook, Instagram, TikTok.

GET https://r-gengpt-api.vercel.app/api/video/download

Query Parameters

Parameter Description
url The full URL of the social media video. (Required)

Usage Example: Append the video link directly to the parameter. E.g., ?url=https://youtube.com/watch?v=...

Cloud Storage API

Upload small files and receive a direct URL to the stored file. Useful for temporary file hosting.

POST https://r-gengpt-api.vercel.app/api/storage?upload=

Restricted Endpoint

This endpoint requires an active Enterprise API Key to prevent abuse. Contact admin to gain upload access.

Interactive Playground

Test the APIs live in your browser before writing any code.

R-Gen APIs Terminal
R-GenGPT
Hello! I am connected to the R-Gen Chat API. Try asking me a question or tell me to write some code. 🚀

Image Parameters

Output Stream
Processing via Flux Model...

Image will appear here

Player Lookup

JSON Response
Connecting to Enterprise API...

Player JSON data will appear here

QR Configurator

14B8A6
FFFFFF
Live Preview
Encoding Data...