API Documentation

Integrate DreamForgeX's 58+ AI tools into your applications with our REST API. Generate images, videos, and more programmatically.

REST API Bearer Auth Rate Limited
Quick Start

1. Get your API key from API Keys

2. Make your first request:

curl -X POST https://your-app.manus.space/api/v1/generate \
  -H "Authorization: Bearer df_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"prompt": "A beautiful sunset over mountains"}'
Authentication

All authenticated endpoints require a Bearer token in the Authorization header:

Authorization: Bearer df_your_api_key_here
Rate Limit100 requests/hour (default)
FormatJSON request/response

Endpoints

POST/api/v1/generate Auth

Generate an image from a text prompt

{
  "prompt": "A serene mountain landscape at sunset",
  "width": 1024,
  "height": 1024,
  "model": "default"
}
POST/api/v1/tools/upscale Auth

Upscale an image to higher resolution

{
  "imageUrl": "https://example.com/image.png",
  "scale": 2
}
POST/api/v1/tools/style-transfer Auth

Apply an artistic style to an image

{
  "imageUrl": "https://example.com/image.png",
  "style": "watercolor"
}
POST/api/v1/tools/background-remove Auth

Remove or replace image background

{
  "imageUrl": "https://example.com/image.png",
  "replacement": "A tropical beach at sunset"
}
POST/api/v1/prompt/improve Auth

Improve a prompt using AI

{
  "prompt": "a cat",
  "style": "cinematic",
  "mood": "dramatic"
}
GET/api/v1/models

List available generation models

SDK & Libraries

JavaScript / TypeScript

npm install dreamforge-sdkComing Soon

Python

pip install dreamforgeComing Soon

REST API

Use any HTTP client

Available Now