Rechercher

PythonReactSEOPDF
OpenClaw

phaya

Use the Phaya SaaS backend to generate images, videos, audio, music, and run LLM chat completions via simple REST API calls. Use when the user wants to generate media, call AI models, or use the Phaya API for image/video/audio/text generation.

boombignose0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install boombignose/phaya

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

Phaya Media API

Phaya is a FastAPI backend that brokers AI media generation across KIE.ai (Sora 2, Veo 3.1, Seedance, Kling, Seedream, Suno), Google Gemini TTS, and OpenRouter LLMs.

Auth

All endpoints require a Bearer token or API key:

Authorization: Bearer <your_api_key>

Get your profile and credit balance:

  • GET /api/v1/user/profile — full profile
  • GET /api/v1/user/credits → { "credits_balance": 84.90, ... }

Rate limit: 60 requests/minute per API key.

Credit System

Every generation costs credits deducted on job creation; auto-refunded on failure.

Credits Service
0.5 image-to-video (FFmpeg local), Sora 2 character creation
1.0 text-to-image (Z-Image)
1.5 Seedream 5.0
2–4 Nano Banana 2 (1K/2K/4K resolution)
3.0 Text-to-music (Suno)
2–35 Seedance 1.5 Pro (resolution × duration × audio)
8.0 Sora 2 video
1.21–1.82/sec Kling 2.6 motion control (720p/1080p)
15.0 Veo 3.1 fast (veo3_fast)
50.0 Veo 3.1 quality (veo3)

Job / Polling Pattern

Every generation is async. Create endpoints return job_id immediately; poll the status endpoint.

POST /api/v1/<service>/create   →  { "job_id": "uuid" }
GET  /api/v1/<service>/status/{job_id}  →  { "status": "...", "<media>_url": "..." }

Status values:

  • Image/music endpoints: PENDING, QUEUED, PROCESSING, COMPLETED, FAILED
  • Speech/subtitle endpoints: PENDING, PROCESSING, COMPLETED, FAILED
  • Video/download endpoints: processing, completed, failed, cancelled

Response URL field by media type:

Media type Response field
Images image_url
Videos video_url
Audio / music audio_url (music also returns audio_urls[])
Sora 2 character character_id (a string ID, not a URL)

Poll every 3–5 seconds until the terminal status is reached.

Quick Start

1. Generate an image (text-to-image)
imp...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/boombignose/phaya
Version
—
Commit
14b6c3eecd86e09afe4155334c072aeba6602827
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

README

Phaya Media API

Generate images, videos, audio, and AI chat completions via the Phaya SaaS backend — all through a single, authenticated REST API.

What It Does

This skill teaches an AI agent how to use the Phaya backend to:

  • Generate images — Z-Image (1 credit), Seedream 5.0 (1.5 credits), Nano Banana 2 (2–4 credits)
  • Generate videos — Sora 2 i2v/t2v (8 credits), Veo 3.1 (15–50 credits), Seedance 1.5 Pro (3–35 credits), Kling 2.6 motion control (1.21–1.82 credits/sec), FFmpeg local (0.5 credits)
  • Generate audio/music — Suno music via KIE.ai (3 credits), Google Gemini TTS (token-based)
  • Run LLM chat — Phaya-GPT at /api/v1/phaya-gpt/chat/completions, plus a full OpenAI-compatible proxy at /v1/chat/completions
  • Media utilities — Thai subtitle generation (Whisper + FFmpeg), yt-dlp video download, FFmpeg merge/overlay/transcribe

Supported Services

Category Service Provider
Image Z-Image KIE.ai
Image Seedream 5.0 ByteDance via KIE.ai
Image Nano Banana 2 KIE.ai
Video Sora 2 (i2v + t2v + character) KIE.ai
Video Veo 3.1 Google via KIE.ai
Video Seedance 1.5 Pro ByteDance via KIE.ai
Video Kling 2.6 motion control KIE.ai
Video FFmpeg Ken Burns zoom Local
Music Suno (V3–V5) KIE.ai
Speech Gemini TTS Google
LLM Phaya-GPT OpenRouter
Embeddings Qwen3 Embedding 8B OpenRouter
Subtitles Whisper Large v3 + PyThaiNLP Together AI
Download yt-dlp (YouTube, TikTok, etc.) Local

Requirements

  • A valid Phaya API key (obtain from your account at the Phaya host)
  • httpx (Python) or curl for making API calls
  • No local GPU or model weights required — all generation is done server-side

Authentication

Authorization: Bearer <your_api_key>

Check your credit balance:

GET /api/v1/user/credits  →  { "credits_balance": 84.90, "credits_balance_formatted": "84.90 เครดิต" }

Rate lim...

Contenu extrait

SKILL.md
# Phaya Media API

Phaya is a FastAPI backend that brokers AI media generation across KIE.ai (Sora 2, Veo 3.1, Seedance, Kling, Seedream, Suno), Google Gemini TTS, and OpenRouter LLMs.

## Auth

All endpoints require a Bearer token or API key:

```
Authorization: Bearer <your_api_key>
```

Get your profile and credit balance:
- `GET /api/v1/user/profile` — full profile
- `GET /api/v1/user/credits` → `{ "credits_balance": 84.90, ... }`

**Rate limit:** 60 requests/minute per API key.

## Credit System

Every generation costs credits deducted on job creation; auto-refunded on failure.

| Credits | Service |
|---------|---------|
| 0.5 | image-to-video (FFmpeg local), Sora 2 character creation |
| 1.0 | text-to-image (Z-Image) |
| 1.5 | Seedream 5.0 |
| 2–4 | Nano Banana 2 (1K/2K/4K resolution) |
| 3.0 | Text-to-music (Suno) |
| 2–35 | Seedance 1.5 Pro (resolution × duration × audio) |
| 8.0 | Sora 2 video |
| 1.21–1.82/sec | Kling 2.6 motion control (720p/1080p) |
| 15.0 | Veo 3.1 fast (`veo3_fast`) |
| 50.0 | Veo 3.1 quality (`veo3`) |

## Job / Polling Pattern

Every generation is async. Create endpoints return `job_id` immediately; poll the status endpoint.

```
POST /api/v1/<service>/create   →  { "job_id": "uuid" }
GET  /api/v1/<service>/status/{job_id}  →  { "status": "...", "<media>_url": "..." }
```

**Status values:**
- Image/music endpoints: `PENDING`, `QUEUED`, `PROCESSING`, `COMPLETED`, `FAILED`
- Speech/subtitle endpoints: `PENDING`, `PROCESSING`, `COMPLETED`, `FAILED`
- Video/download endpoints: `processing`, `completed`, `failed`, `cancelled`

**Response URL field by media type:**

| Media type | Response field |
|------------|---------------|
| Images | `image_url` |
| Videos | `video_url` |
| Audio / music | `audio_url` (music also returns `audio_urls[]`) |
| Sora 2 character | `character_id` (a string ID, not a URL) |

Poll every 3–5 seconds until the terminal status is reached.

## Quick Start

### 1. Generate an image (text-to-image)

```python
imp...
README
# Phaya Media API

Generate images, videos, audio, and AI chat completions via the Phaya SaaS backend — all through a single, authenticated REST API.

## What It Does

This skill teaches an AI agent how to use the Phaya backend to:

- **Generate images** — Z-Image (1 credit), Seedream 5.0 (1.5 credits), Nano Banana 2 (2–4 credits)
- **Generate videos** — Sora 2 i2v/t2v (8 credits), Veo 3.1 (15–50 credits), Seedance 1.5 Pro (3–35 credits), Kling 2.6 motion control (1.21–1.82 credits/sec), FFmpeg local (0.5 credits)
- **Generate audio/music** — Suno music via KIE.ai (3 credits), Google Gemini TTS (token-based)
- **Run LLM chat** — Phaya-GPT at `/api/v1/phaya-gpt/chat/completions`, plus a full OpenAI-compatible proxy at `/v1/chat/completions`
- **Media utilities** — Thai subtitle generation (Whisper + FFmpeg), yt-dlp video download, FFmpeg merge/overlay/transcribe

## Supported Services

| Category | Service | Provider |
|----------|---------|----------|
| Image | Z-Image | KIE.ai |
| Image | Seedream 5.0 | ByteDance via KIE.ai |
| Image | Nano Banana 2 | KIE.ai |
| Video | Sora 2 (i2v + t2v + character) | KIE.ai |
| Video | Veo 3.1 | Google via KIE.ai |
| Video | Seedance 1.5 Pro | ByteDance via KIE.ai |
| Video | Kling 2.6 motion control | KIE.ai |
| Video | FFmpeg Ken Burns zoom | Local |
| Music | Suno (V3–V5) | KIE.ai |
| Speech | Gemini TTS | Google |
| LLM | Phaya-GPT | OpenRouter |
| Embeddings | Qwen3 Embedding 8B | OpenRouter |
| Subtitles | Whisper Large v3 + PyThaiNLP | Together AI |
| Download | yt-dlp (YouTube, TikTok, etc.) | Local |

## Requirements

- A valid Phaya API key (obtain from your account at the Phaya host)
- `httpx` (Python) or `curl` for making API calls
- No local GPU or model weights required — all generation is done server-side

## Authentication

```
Authorization: Bearer <your_api_key>
```

Check your credit balance:
```
GET /api/v1/user/credits  →  { "credits_balance": 84.90, "credits_balance_formatted": "84.90 เครดิต" }
```

Rate lim...

Skills associés

OpenClaw

humanpages

human-pages-ai

Search and hire real humans for tasks — photography, delivery, research, and more

OpenClaw

openclaw-skills

zseven-w

Reusable skill templates for OpenClaw AI agents. Templates for API integration, data processing, web scraping, CLI tools, and file processing.

OpenClaw

0xarchive

0xfantommenace

Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user...

OpenClaw

1sec-security

cutmob

Install, configure, and manage 1-SEC — an open-source, all-in-one cybersecurity platform (16 modules, single binary) on Linux servers and VPS instances. Use when the user asks to secure a server, install securi...