API Documentation

Complete API reference for PixelFox AI platform

Base URL:https://api.pixelfox.ai|Token:***** (Price)

Introduction

This is the complete API documentation for the PixelFox AI platform. All endpoints communicate with https://api.pixelfox.ai.

Authentication

Most endpoints require authentication via a Bearer token. The token is automatically managed and injected by the HTTP client.

Storage:localStorage.gneo_token
Header:Token: <token>

Common Headers

Response Codes

HTTP Methods

GETRetrieve data
POSTCreate/Submit data
PUTUpdate data
DELETEDelete data

Async Task Pattern

Most AI generation endpoints follow an asynchronous pattern:

1
Create Task

POST to createtask endpoint

https://api.pixelfox.ai/api/ai/img/generate_image/createtask
2
Get Task ID

Response: { code: 1, data: "task_id_string" }

3
Poll for Result

POST to getTaskResult every 2 seconds

https://api.pixelfox.ai/api/ai/video/base/getTaskResult
4
Task Complete

Status changes to SUCCESS with result URLs