🧪 Skills
Flux 2 API
Use PoYo AI Flux 2 through the `https://api.poyo.ai/api/generate/submit` endpoint. Use when a user wants to generate or edit media with this model family, pr...
v1.0.0
Description
name: poyo-flux-2
description: Use PoYo AI Flux 2 through the https://api.poyo.ai/api/generate/submit endpoint. Use when a user wants to generate or edit media with this model family, prepare PoYo-compatible payloads, submit jobs, or poll task status for flux-2-pro, flux-2-pro-edit, flux-2-flex, flux-2-flex-edit.
metadata: {"openclaw": {"homepage": "https://docs.poyo.ai/api-manual/image-series/flux-2", "requires": {"bins": ["curl"], "env": ["POYO_API_KEY"]}, "primaryEnv": "POYO_API_KEY"}}
PoYo Flux 2
Use this skill to submit and track PoYo jobs for the Flux 2 family.
Quick workflow
- Choose the right model id for the requested output.
- Build the request body for
POST https://api.poyo.ai/api/generate/submit. - Send Bearer-authenticated JSON with
Authorization: Bearer <POYO_API_KEY>. - Save the returned
task_id. - Poll unified task status or wait for
callback_urlnotifications.
Request rules
- Require top-level
model. - Keep prompts concrete and outcome-focused.
- Require
input.promptunless the user already supplied a full payload. - Use
input.image_urlsonly when the task needs reference or source images. - Use
input.sizeto match the intended aspect ratio or canvas. - Use
input.resolutionwhen quality/cost tradeoffs matter.
Model selection
flux-2-pro
Use for higher-quality or premium jobs.
flux-2-pro-edit
Use for editing or modifying supplied images.
flux-2-flex
Use for general generation with this model variant.
flux-2-flex-edit
Use for editing or modifying supplied images.
Execution
- Read
references/api.mdfor endpoint details, model ids, key fields, example payloads, and polling notes. - Use
scripts/submit_flux_2.shto submit a raw JSON payload from the shell. - If the user only needs a curl example, adapt the example from
references/api.mdinstead of rewriting from scratch. - After submission, report the
task_idclearly so follow-up polling is easy.
Output expectations
When helping with this model family, include:
- chosen model id
- final payload or a concise parameter summary
- whether reference images are involved
- returned
task_idif a request was actually submitted - next step: poll status or wait for webhook
Notes:
Needs POYO_API_KEY from https://poyo.ai PoYo.ai - Premium AI API Platform | Image, Video, Music & Chat APIs - 80% Cheaper
Reviews (0)
Sign in to write a review.
No reviews yet. Be the first to review!
Comments (0)
No comments yet. Be the first to share your thoughts!