v1.0.13
Pixfaro layer: iterative edit + cost-guard
lib.refine(image_id, instruction)— edit a prior illustration by itsimg_...id viaPOST /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 viaGET /v1/models.- Fix:
wide/linkkinds 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.