generate_sprite
Generate a pixel art sprite from a text prompt. Decrements credits the same way the web UI does, and returns a PNG plus the asset id you can pass to other tools.
generate_sprite(prompt, size?, model?)
β { asset_id, png_url, model_used, credits_remaining }