ArcDevs API

Integrate powerful AI capabilities into your applications with our simple REST API

Get Started

Get Your API Key

Pricing Plans

Weekly Pass
₹99 for 7 days of API access.
Monthly Pass
₹299 for 30 days of API access.

How to Activate

  1. Scan the QR code or use the UPI ID to complete your payment.
  2. Send a screenshot of the successful payment to us on Telegram or Discord.
  3. We will verify your payment and send you your personal API key.
UPI QR Code

UPI ID:

kobu.maheshwari@fam

Contact on Telegram Contact on Discord

Authentication

All requests require authentication via Bearer token:

Authorization: Bearer YOUR_API_KEY

API Endpoints

POST /api/arc-image Generate AI images

Parameters

prompt string
The main text description of the desired image
model string
The ID of the model to use (see reference). Default: FLUX Schnell
n integer
The number of images to generate (1-4). Default: 1
aspect_ratio string
The aspect ratio, e.g., "16:9". Default: "1:1"
steps integer
Quality steps (1-40). Higher values take longer. Default: 20
image_url string
A public URL or Base64 data URI of a reference image for image-to-image models
loras array
For FLUX LoRA model only. Array of up to 2 LoRA objects, e.g., [{"name": "UltraRealism", "scale": 1.0}]
cURL
curl -X POST https://arcdevs.space/api/arc-image \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "prompt": "a majestic lion", "aspect_ratio": "16:9", "steps": 30 }'
Python
import requests url = "https://arcdevs.space/api/arc-image" headers = { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" } payload = { "prompt": "a majestic lion", "model": "black-forest-labs/FLUX.1.1-pro", "aspect_ratio": "16:9", "steps": 30, "n": 2 } response = requests.post(url, json=payload, headers=headers) result = response.json() print(result)
JavaScript
const response = await fetch('https://arcdevs.space/api/arc-image', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ prompt: 'a majestic lion', model: 'black-forest-labs/FLUX.1.1-pro', aspect_ratio: '16:9', steps: 30, n: 2 }) }); const data = await response.json(); console.log(data);
POST /api/arc-tts Convert text to speech

Parameters

text string
The text to be converted into speech. Max 4096 characters
voice string
The voice to use (see reference). Default: "echo"
prompt string
A detailed description of the desired voice performance, tone, and delivery

Code Examples

cURL
curl -X POST https://arcdevs.space/api/arc-tts \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "text": "Hello world!", "voice": "shimmer", "prompt": "warm and friendly" }' \ --output audio.mp3
Python
import requests url = "https://arcdevs.space/api/arc-tts" headers = { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" } payload = { "text": "Hello from the ArcDevs API!", "voice": "shimmer", "prompt": "A warm, friendly voice with a professional tone." } response = requests.post(url, json=payload, headers=headers) with open('audio.mp3', 'wb') as f: f.write(response.content)
JavaScript
const response = await fetch('https://arcdevs.space/api/arc-tts', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ prompt: 'Hello from the ArcDevs API!', voice: 'shimmer', prompt: 'A warm, friendly voice with a professional tone.' }) }); const audioBlob = await response.blob(); const audioUrl = URL.createObjectURL(audioBlob); const audio = new Audio(audioUrl); audio.play();

Image Models

TTS Voices

LoRA Styles

Available styles for FLUX LoRA model:

Access Denied

Snooping isn't allowed and might result in a ban.