irotech AI API

Powerful AI integration using advanced models with custom prompts

API Parameters Detail

This API provides access to advanced AI models through a simple HTTP interface. Built with Python backend by irotech.

Available Endpoints

1. GPT-5 API Endpoint

GET /api/gpt-5?text=your_message_here
text (required): Your message or prompt for the AI
// Example JavaScript usage
fetch('/api/gpt-5?text=Hello, how are you?')
    .then(response => response.json())
    .then(data => console.log(data));

// Direct URL access
// https://irotech-gpt-api.ooguy.com//api/gpt-5?text=Hello
Response Format:
{
  "status": 200,
  "result": "AI response here..."
}

2. Advanced irotech API Endpoint

GET /api/irotech?prompt=your_prompt&system_prompt=optional_system_prompt
prompt (required): Main user prompt
system_prompt (optional): System instructions for the AI
// Example with system prompt
fetch('/api/irotech?prompt=Tell me a joke&system_prompt=You are a funny comedian')
    .then(response => response.json())
    .then(data => console.log(data));

// Direct URL access
// https://irotech-gpt-api.ooguy.com//api/irotech?prompt=Hello&system_prompt=Be creative
Response Format:
{
  "status": 200,
  "result": "AI response here..."
}

Try It Out

API Response:


                    

Features

Advanced AI models including GPT-5 through Microsoft integration
Custom system prompts for specialized responses
Fast response times with optimized backend
Simple REST API interface
CORS enabled for cross-origin requests
Error handling with descriptive messages
Clean /api/ endpoint structure

Example Usage

// Using fetch API
const response = await fetch('/api/irotech?prompt=Write a poem about nature&system_prompt=You are a romantic poet');
const data = await response.json();
console.log(data.result);

// Using curl
curl "https://irotech-gpt-api.ooguy.com//api/gpt-5?text=What is the meaning of life?"

// Using Python requests
import requests
response = requests.get("https://irotech-gpt-api.ooguy.com//api/irotech", 
    params={
        "prompt": "Explain quantum computing",
        "system_prompt": "Explain like I'm 10 years old"
    })
print(response.json()["result"])