Skip to content

v1.0.14

Choose a tag to compare

@sergebulaev sergebulaev released this 20 Aug 19:34
· 11 commits to main since this release

Pixfaro layer: iterative edit + cost-guard

  • lib.refine(image_id, instruction) — edit a prior illustration by its img_... id via POST /v1/images/edits (cheaper + more consistent than regenerating). Keeps source shape/tier by default.
  • Cost-guard: results now carry balance_after + low_balance; premium models (gemini-pro-image, gpt-5-image) are never auto-selected.
  • lib.available_models() — live model catalog + pricing via GET /v1/models.
  • Fix: wide/link kinds sent pixel dimensions; the API expects a ratio (16:9). Generation for those kinds now works.

Verified live end-to-end (generate + refine + models). Fully optional; needs PIXFARO_TOKEN.