API Documentation

Everything you need to integrate Genwave into your applications

Genwave Agent

No API needed. Control WordPress through natural conversation. Agent handles everything via secure chat interface.

  • Chat-based interface
  • 10-layer security
  • 150+ WordPress actions
Learn about Agent

REST API

Direct API access for developers. Build custom integrations with content generation, images, and more.

  • RESTful endpoints
  • Streaming responses
  • Token-based auth
Documentation below
Base URL
https://api.genwave.ai

Authentication

All API requests require authentication using API keys and headers.

Required Headers

AuthorizationBearer YOUR_API_KEY
Content-Typeapplication/json
curl -X POST https://api.genwave.ai/v1/generate \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "Write a product description"}'

API Endpoints

Generate Content Stream

POST
/v1/generate-stream

Generate AI content with real-time streaming updates.

curl -X POST https://api.genwave.ai/v1/generate-stream \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "posts": [{"id": 1, "title": "Product Name"}],
    "model": "gpt-4",
    "language": "English"
  }'

Generate Image

POST
/v1/generate-image

Generate high-quality AI images using DALL-E or other models.

curl -X POST https://api.genwave.ai/v1/generate-image \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Professional product photo",
    "model": "dall-e-3",
    "size": "1024x1024"
  }'

Response Codes

200Request successful
400Invalid request parameters
401Missing or invalid authentication
429Rate limit exceeded
500Server error occurred

Rate Limits

API requests are limited to ensure fair usage and system stability.

60
Requests per minute
120
Burst limit