🔮 Bumi Bot

🔮 Bumi Bot

📷
Click atau drag image di sini
Loading...

Bumi API

REST API untuk generate image/video via @BumiUnlimitedBot. Submit job → poll result.

Base URL

https://qiana.xyz/api

Quick Start

// 1. Submit job
POST /api/generate
{
  "flow": "nano_banana_2_i2i_1gambar",
  "prompt": "wanita di pantai",
  "images": []
}

// Response (instant):
{
  "job_id": "a1b2c3d4",
  "prompt_id": 10035,
  "status": "queued"
}

// 2. Poll status
GET /api/result/a1b2c3d4

// 3. Done!
{
  "status": "completed",
  "result_url": "https://..."
}

Endpoints

POST /generate

POST /api/generate
Content-Type: application/json

{
  "flow": "nano_banana_2_i2i_1gambar",
  "prompt": "prompt text",
  "images": []  // optional: URLs atau base64
}

GET /result/{job_id}

GET /api/result/a1b2c3d4

Response:
{
  "job_id": "a1b2c3d4",
  "prompt_id": 10035,
  "status": "completed",  // queued | processing | completed | failed
  "result_url": "https://...",
  "error": "..."  // if failed
}

GET /health

GET /api/health
{"status": "healthy", "queue_size": 0}

GET /flows

GET /api/flows
{"flows": [{"name": "...", "type": "...", "model": "..."}]}

Available Flows

FlowTypeImages
nano_banana_2_i2i_1gambarI2I1
nano_banana_2_i2i_2gambarI2I2
veo_3_1_lite_1080p_videoI2V1

Image Input

// URL
"images": ["https://example.com/photo.jpg"]

// Base64
"images": ["data:image/jpeg;base64,/9j/4AAQ..."]

Status

StatusMeaning
queuedWaiting in queue
processingExecuting flow
completedDone — result_url available
failedError — check error field

Errors

CodeError
429Prompt duplicate (wait 5 min)
400Missing flow or prompt