pixelkiln 0.86.2 → 0.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -556,18 +556,19 @@ type SkeletonSet = z.infer<typeof SkeletonSetSchema>;
556
556
  * Arbitrary width x height. Returns exactly one result, so there is no
557
557
  * selection step: if you dislike it, re-roll for 1 more.
558
558
  *
559
- * 1dir POST /create-1-direction-object. 20-40 generations.
559
+ * 1dir POST /create-1-direction-object. 10-25 generations (20-40 before
560
+ * PixelLab's October 2026 Pro price cut).
560
561
  * The single-facing sibling of create-8-direction-object, meant for
561
562
  * objects you may later want rotations or animations of. Square only.
562
563
  * Returns 4-64 candidates for its one fixed price, which is genuinely
563
- * useful when you want to compare options side by side, but at 40x the
564
- * cost of a map object, re-rolling a map object forty times is the same
565
- * money. Reach for this when you need rotations, or when the extra
566
- * rendering detail is worth 40x.
564
+ * useful when you want to compare options side by side, but at 10-25x
565
+ * the cost of a map object, re-rolling a map object that many times is
566
+ * the same money. Reach for this when you need rotations, or when the
567
+ * extra rendering detail is worth it.
567
568
  *
568
569
  * Rule of thumb: if the asset is a standalone image and you are not going to
569
570
  * animate or rotate it, `map` is the right call. Generating 65 icons costs 65
570
- * generations that way and 2,600 the other.
571
+ * generations that way and 650-1,625 the other.
571
572
  *
572
573
  * Not yet implemented, but measured and worth knowing (see README):
573
574
  * POST /create-image-pixflux also costs 1 generation, returns the image
@@ -638,31 +639,35 @@ declare function candidateCount(size: number): number;
638
639
  * map FLAT 1 generation, any size. Verified: a 32x36 and a 64x96 map object
639
640
  * each cost exactly 1 (balance 4751 → 4750 → 4749). Single result.
640
641
  *
641
- * 1dir 20-40 by canvas tier (1K=20, 2K=25, 4K=40), returning 4-64
642
- * candidates for that one price.
642
+ * 1dir 10-25 by canvas tier (1K=10, 2K=15, 4K=25), returning 4-64
643
+ * candidates for that one price. PixelLab cut every Pro tier in
644
+ * October 2026 (release 0.4.128) from 20/25/40 to 10/15/25;
645
+ * re-measuring `inpaint-v3` showed the breakpoints did not move
646
+ * (see `proTierCost`).
643
647
  *
644
- * tiles 20-40 on the same canvas tiers as `1dir`, but the canvas is picked
648
+ * tiles 10-25 on the same canvas tiers as `1dir`, but the canvas is picked
645
649
  * from tile size x variation count rather than a single sprite, so a
646
650
  * small tile in a large set can still reach the top tier. Reported by
647
651
  * the API at submit time; estimated here from the widest canvas the
648
652
  * request can produce, which is the honest direction to be wrong in
649
653
  * for a `--budget` check.
650
654
  *
651
- * imagePro FLAT 40 generations, any size or aspect ratio, regardless of
652
- * canvas tier (docs/ENDPOINTS.md, "Single-image generators,
653
- * measured"). `/generate-image-v2`, the Pro image tier: unlike
654
- * `pixflux`, it reaches non-square canvases up to 792x688 and does
655
- * real style transfer, at a flat price rather than one that scales
656
- * with area the way `1dir`/`tiles` do.
655
+ * imagePro Tiered since October 2026, see `proTierCost`. It was a flat 40
656
+ * at any size before PixelLab's 0.4.128 price cut; a 64x64 call
657
+ * billed exactly 10 after it (docs/ENDPOINTS.md, "Single-image
658
+ * generators, measured"). `/generate-image-v2`, the Pro image tier:
659
+ * unlike `pixflux`, it reaches non-square canvases up to 792x688
660
+ * and does real style transfer.
657
661
  *
658
662
  * uiAsset Confirmed live at one data point, and it disproved the borrowed
659
663
  * formula: a real 256x192 (49152px²) call billed exactly 20
660
- * generations (balance 4979.8 → 4959.8), the low end of the
661
- * `create_ui_asset` MCP tool's "20-40 generations" claim. No
664
+ * generations (balance 4979.8 → 4959.8) under the old prices, the
665
+ * low end of the `create_ui_asset` MCP tool's then "20-40
666
+ * generations" claim (10 at today's floor). No
662
667
  * dedicated branch exists here, so it still falls through to the
663
668
  * same canvas-tier formula as `1dir`/`tiles` below, which — given
664
669
  * uiAsset's 192px-per-side floor (36864px²) already past the
665
- * 2048px² top tier — always predicts the 40 ceiling. That
670
+ * 2048px² top tier — always predicts the 25 ceiling. That
666
671
  * prediction is now known wrong: 49152px² sits well above where
667
672
  * `1dir`/`tiles` would bill 40, yet this billed the floor price.
668
673
  * Left unpatched from one data point, which keeps `--budget` an
@@ -680,11 +685,29 @@ declare function candidateCount(size: number): number;
680
685
  * through to the same canvas tiers as `1dir`/`tiles`, the safe
681
686
  * over-read for a Pro endpoint.
682
687
  *
683
- * So `1dir` buys candidate variety at 20-40x the price, and `map` buys
688
+ * So `1dir` buys candidate variety at 10-25x the price, and `map` buys
684
689
  * arbitrary (non-square) dimensions nearly free. For a single-result asset,
685
- * forty re-rolls of a map object cost the same as one 1dir call.
690
+ * ten to twenty-five re-rolls of a map object cost the same as one 1dir call.
686
691
  */
687
692
  declare function generationCost(width: number, height: number, generator?: Generator): number;
693
+ /**
694
+ * PixelLab's Pro price ladder, floor to ceiling, in generations. PixelLab's
695
+ * release 0.4.128 (October 2026) cut it from 20/25/40 to 10/15/25 across
696
+ * every Pro tool: images, edits, inpaints, objects, Pro characters, states,
697
+ * and Pro animations. PixelLab's own OpenAPI now quotes "10-25 generations"
698
+ * for objects, Pro characters, and Pro animations.
699
+ */
700
+ declare const PRO_TIER_PRICES: readonly [10, 15, 25];
701
+ /**
702
+ * One Pro call on a canvas whose size is known, at the breakpoints measured
703
+ * on `/inpaint-v3` (docs/ENDPOINTS.md): up to 256x256 (65536px²) is the
704
+ * floor, up to 320x320 (102400px²) the middle tier, anything larger the
705
+ * top. PixelLab's release notes describe the new tiers as 16-256, 256-384,
706
+ * and 384-512 per side, but re-measured after the cut, 256x256 billed 10,
707
+ * 288x288 15, and both 352x352 and 384x384 billed 25: the breakpoints did
708
+ * not move, only the prices.
709
+ */
710
+ declare function proTierCost(width: number, height: number): number;
688
711
  /**
689
712
  * Cost of one `tiles` call. Same canvas tiers as `1dir`, but the canvas is the
690
713
  * sheet the API lays the variations out on, not one tile, so tile size alone
@@ -13592,7 +13615,8 @@ declare class PixelLabClient {
13592
13615
  * A full-body sprite in, a bust portrait out (or the reverse, unused
13593
13616
  * today). Job-based like a state or `1dir`, not the couple-generations
13594
13617
  * "conversion" the name suggests: the smallest `resultSize` (16px) billed
13595
- * 20 generations live (docs/ENDPOINTS.md, "Characters, measured").
13618
+ * 20 generations live (docs/ENDPOINTS.md, "Characters, measured"), the
13619
+ * Pro floor before PixelLab's October 2026 cut put it at 10.
13596
13620
  */
13597
13621
  createPortraitCharacterPro(args: {
13598
13622
  direction: "portrait_to_character" | "character_to_portrait";
@@ -13630,7 +13654,8 @@ declare class PixelLabClient {
13630
13654
  * everything else here, but the completed job returns the result frames
13631
13655
  * inline as base64 (`last_response.quantized_images`), not as storage
13632
13656
  * URLs — the one PixelLab character tool that works this way. A live
13633
- * 2-frame, 92x92 job billed 20 generations (docs/ENDPOINTS.md).
13657
+ * 2-frame, 92x92 job billed 20 generations (docs/ENDPOINTS.md), before
13658
+ * PixelLab's October 2026 Pro cut halved that floor to 10.
13634
13659
  */
13635
13660
  transferOutfitV2(args: {
13636
13661
  referenceImage: Base64Image & {
@@ -13672,7 +13697,9 @@ declare class PixelLabClient {
13672
13697
  * far higher than this tiering assumes; 352x352 (123904px²), 384x384
13673
13698
  * (147456px²), and 512x512 (262144px², the tiering ceiling) all billed
13674
13699
  * 40. Both breakpoints are now tightly bracketed: 20->25 in
13675
- * (65536px², 82944px²], 25->40 in (102400px², 123904px²].
13700
+ * (65536px², 82944px²], 25->40 in (102400px², 123904px²]. Those prices
13701
+ * predate PixelLab's October 2026 Pro cut to 10/15/25; `proTierCost`
13702
+ * keeps the breakpoints with the new prices.
13676
13703
  * `editImagesV2` below returns the same fields under `images`, plural
13677
13704
  * and array-wrapped, not `image` — do not assume the two endpoints share
13678
13705
  * one response shape. See docs/ENDPOINTS.md and docs/REVISIONS.md for
@@ -13718,8 +13745,9 @@ declare class PixelLabClient {
13718
13745
  status: string;
13719
13746
  }>;
13720
13747
  /**
13721
- * PixelLab's Pro image tier, `/generate-image-v2`: a flat 40 generations
13722
- * (docs/ENDPOINTS.md, "Single-image generators, measured") for real style
13748
+ * PixelLab's Pro image tier, `/generate-image-v2`: 10 to 25 generations by
13749
+ * canvas since PixelLab's October 2026 Pro cut, a flat 40 before
13750
+ * (docs/ENDPOINTS.md, "Single-image generators, measured"), for real style
13723
13751
  * transfer and non-square canvases up to 792x688, where `pixflux` is
13724
13752
  * limited to 400x400 and no style reference. Like a revision, this hands
13725
13753
  * back a plain background job with no resource of its own; unlike a
@@ -13788,6 +13816,19 @@ declare class PixelLabClient {
13788
13816
  noBackground?: boolean;
13789
13817
  seed?: number;
13790
13818
  }): Promise<z.output<typeof ProFlashImageSubmitSchema>>;
13819
+ /**
13820
+ * `/image-to-pixelart-pro-flash`: a photo, painting, or render in, pixel
13821
+ * art out, with no size to pass: PixelLab detects the native pixel scale
13822
+ * and picks the output size (a 256x256 render came back 108x109, on a
13823
+ * transparent background). A flat 6 generations, billed exactly that live
13824
+ * in October 2026. Sources over 2048px on the longer side are scaled down
13825
+ * upstream. The finished job carries the image at `last_response.images[0]`.
13826
+ */
13827
+ imageToPixelartProFlash(args: {
13828
+ image: Base64Image;
13829
+ description?: string;
13830
+ seed?: number;
13831
+ }): Promise<z.output<typeof ProFlashImageSubmitSchema>>;
13791
13832
  /**
13792
13833
  * `/generate-ui-v2` ("Generate UI (Pro)"): one UI element (a button, a
13793
13834
  * health bar, an inventory slot, a dialogue box) from a description,
@@ -17154,8 +17195,12 @@ declare const FONT_WEIGHTS: readonly ["Bold", "Regular"];
17154
17195
  type FontWeight = (typeof FONT_WEIGHTS)[number];
17155
17196
  declare const FONT_GLYPH_SIZES: readonly [8, 16, 32, 64];
17156
17197
  type FontGlyphSize = (typeof FONT_GLYPH_SIZES)[number];
17157
- /** Documented price of one `/generate-font-pro` call, on a subscription. Not yet confirmed against a live bill. */
17158
- declare const FONT_COST_GENERATIONS = 25;
17198
+ /**
17199
+ * Documented price of one `/generate-font-pro` call, on a subscription: 15
17200
+ * since PixelLab's October 2026 Pro cut (25 before). Not yet confirmed
17201
+ * against a live bill.
17202
+ */
17203
+ declare const FONT_COST_GENERATIONS = 15;
17159
17204
  interface GenerateFontOptions {
17160
17205
  description: string;
17161
17206
  weight: FontWeight;
@@ -17190,6 +17235,49 @@ declare function fontOutputPaths(out: string): {
17190
17235
  * `download`.
17191
17236
  */
17192
17237
  declare function generateFont(client: Pick<PixelLabClient, "generateFontPro" | "getFontJob" | "download">, opts: GenerateFontOptions): Promise<GenerateFontResult>;
17238
+ /** `/image-to-pixelart-pro-flash`'s flat price, billed exactly this live in October 2026. */
17239
+ declare const PIXELATE_COST_GENERATIONS = 6;
17240
+ /** Sources longer than this on either side are scaled down by PixelLab before conversion; they are not refused. */
17241
+ declare const PIXELATE_MAX_SIDE = 2048;
17242
+ interface PixelateOptions {
17243
+ /** Defaults to `<input>.pixel.png` beside the input. */
17244
+ out?: string;
17245
+ /** Optional style steer, e.g. "retro vibes with light dithering". */
17246
+ description?: string;
17247
+ seed?: number;
17248
+ force?: boolean;
17249
+ /** Poll interval and ceiling. Conversions measured at about 30 s. */
17250
+ intervalMs?: number;
17251
+ timeoutMs?: number;
17252
+ onProgress?: (status: string) => void;
17253
+ sleep?: (ms: number) => Promise<void>;
17254
+ }
17255
+ interface PixelateResult {
17256
+ jobId: string;
17257
+ out: string;
17258
+ original: {
17259
+ width: number;
17260
+ height: number;
17261
+ };
17262
+ pixelated: {
17263
+ width: number;
17264
+ height: number;
17265
+ };
17266
+ /** PixelLab's gallery id for the result, reusable as a Pro Flash `source_image_id`. */
17267
+ imageId: string;
17268
+ usage: unknown;
17269
+ }
17270
+ /** Where `pixelate` writes when no `--out` is given: beside the input, never over it. */
17271
+ declare function defaultPixelateOut(input: string): string;
17272
+ /**
17273
+ * Convert a photo, painting, or render into pixel art with PixelLab's Image
17274
+ * to Pixel Art Pro Flash, wait for it, and write the PNG. PixelLab picks the
17275
+ * output size itself from the source's detected pixel scale, so there is no
17276
+ * size option; the result keeps a transparent background where the model
17277
+ * finds one. For art that is already pixel art and merely upscaled, use
17278
+ * `unzoomFile` instead: it recovers the grid rather than redrawing.
17279
+ */
17280
+ declare function pixelateFile(client: Pick<PixelLabClient, "imageToPixelartProFlash" | "getBackgroundJob">, input: string, opts?: PixelateOptions): Promise<PixelateResult>;
17193
17281
 
17194
17282
  interface RevisionReadiness {
17195
17283
  ready: boolean;
@@ -18206,7 +18294,11 @@ interface ReviewReadyInfo {
18206
18294
  */
18207
18295
  interface ReviewSession {
18208
18296
  groups: SheetGroup[];
18209
- /** Exact local media routes the sheet references (revision sources). */
18297
+ /**
18298
+ * Exact local media routes the sheet references: revision sources, the art
18299
+ * a regeneration replaces, and any frame or candidate the provider cached
18300
+ * on local disk.
18301
+ */
18210
18302
  assets: ReadonlyMap<string, {
18211
18303
  path: string;
18212
18304
  contentType: string;
@@ -23015,4 +23107,4 @@ interface WorkspaceStatusReport {
23015
23107
  */
23016
23108
  declare function workspaceStatus(ws: Workspace, dir: string): Promise<WorkspaceStatusReport>;
23017
23109
 
23018
- export { type AdoptResult, type ApproveQualityOptions, type ApprovedQualityReview, type ArtifactBundleManifest, type ArtifactBundleOptions, type ArtifactBundleResult, type ArtifactFile, type ArtifactProvenance, type ArtifactSource, type ArtifactVerification, type Asset, type AssetAudit, type AssetBatch, AssetBatchSchema, AssetSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, type BilledAmount, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, CHARACTER_PROPORTION_PRESETS, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, type CharacterOutfit, CharacterOutfitSchema, type CharacterPortrait, CharacterPortraitSchema, type CharacterPortraitSize, CharacterPortraitSizeSchema, type CharacterProportions, CharacterProportionsSchema, type CharacterState, CharacterStateSchema, type ComfyUIBinding, type ComfyUIBindings, type ComfyUIFramesOptions, type ComfyUIImageInput, type ComfyUIOptions, ComfyUIProvider, type ContentCacheHealth, type ContentCacheIssue, type CostEstimate, type CostUnit, DEFAULT_HISTORY_LIMIT, DEFAULT_QUALITY_TOLERANCES, DEFAULT_RATE_LIMIT, DEFAULT_TIMEOUT_MS, type DoctorCheck, type DoctorLevel, type DoctorOptions, type DoctorReport, EDITOR_PIN, EDITOR_RELEASE_BASE, EXIT_CODES, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, type ErrorCode, FAKE_PNG, FONT_COST_GENERATIONS, FONT_GLYPH_SIZES, FONT_WEIGHTS, FRAME_SET_REVISION_MODES, type FakeOptions, FakeProvider, type FetchResult, type FontGlyphSize, type FontWeight, type GalleryBuild, type GalleryEditHandlerOptions, type GalleryEditMeta, type GalleryEditorHandlers, type GalleryEditorOptions, type GalleryEditorStatus, type GalleryGenerateHandlers, type GalleryGeneration, type GalleryItem, type GalleryMedia, type GalleryOutput, type GalleryProject, type GalleryProjectContext, type GalleryQuality, type GalleryServer, type GalleryServerOptions, type GallerySnapshot, type GalleryState, type GalleryStyle, type GenerateFontOptions, type GenerateFontResult, type GenerateHandlerOptions, type GenerateJob, type GeneratePhase, GenerateRequestError, GenerateRequestSchema, type GenerateStatus, type Generator, GeneratorSchema, type GenericTileset, type GridConfidence, GridConfidenceSchema, HAND_EDIT_DIR, HISTORY_ENV, type HandEditCompanion, HandEditCompanionSchema, type HandEditMember, type HandEditSave, type HandEditSaveInput, type HandEditStart, type HandEditStatus, type HistoryPick, type ImageQualityMetrics, ImageQualityMetricsSchema, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type JobState, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, type MapScene, type MapScenePlacement, MapScenePlacementSchema, MapSceneSchema, MediaType, type MountPlacement, type MountedSheet, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, type PixelLabCharacter, type PixelLabCharacterAnimation, PixelLabClient, PixelLabError, type PixelLabObject, PixelLabProvider, type PixelLabUsage, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type Postprocess, PostprocessSchema, type PrepareReviewOptions, type ProFlashCostOperation, type ProFlashQuote, type Project, ProjectError, type Provider, ProviderError, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCheck, type QualityProfile, type QualityProfileInspection, QualityProfileSchema, type QualityProfileState, type QualityRegressionCaseResult, type QualityRegressionReport, type QualitySnapshotResult, QualityToleranceSchema, type QualityTolerances, type RateLimit, type Recipe, type RecipeFileVerification, type RecipeModelVerification, RecipeSchema, type RecipeVerification, type RefineAudit, type RefineFrameSetOptions, type RefineFrameSetResult, type RefineOptions, type RefineQualityProfilesOptions, type RefineQualityProfilesResult, type RefineRecordOptions, type RefineResult, type RefreshContext, type RemoteAsset, type RemoteCharacter, type RemoteCharacterDetail, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedBatch, type ResolvedCharacter, type ResolvedMapScene, type ResolvedMirror, type ResolvedObjectPro, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, type ResolvedRevisionMember, type ResolvedSpec, type ResolvedStyleAnchor, type ResolvedStyleImage, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionDithering, RevisionDitheringSchema, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, SHEET_FORMATS, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetAtlas, type SheetFormat, type SheetFormatOptions, type SheetGroup, type SiblingManifest, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultOpenCommand, defaultUnzoomOut, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, galleryContentSecurityPolicy, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, matchOrphanStyle, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseProFlashQuote, parseTerrainDescriptions, parseWorkspace, pickHistory, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, recipeDigest, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderAsepriteSheet, renderGallery, renderGodotSpriteFrames, renderSalvageSheet, renderSheet, renderSheetDocument, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, slugify, snapshotQualityBaseline, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
23110
+ export { type AdoptResult, type ApproveQualityOptions, type ApprovedQualityReview, type ArtifactBundleManifest, type ArtifactBundleOptions, type ArtifactBundleResult, type ArtifactFile, type ArtifactProvenance, type ArtifactSource, type ArtifactVerification, type Asset, type AssetAudit, type AssetBatch, AssetBatchSchema, AssetSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, type BilledAmount, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, CHARACTER_PROPORTION_PRESETS, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, type CharacterOutfit, CharacterOutfitSchema, type CharacterPortrait, CharacterPortraitSchema, type CharacterPortraitSize, CharacterPortraitSizeSchema, type CharacterProportions, CharacterProportionsSchema, type CharacterState, CharacterStateSchema, type ComfyUIBinding, type ComfyUIBindings, type ComfyUIFramesOptions, type ComfyUIImageInput, type ComfyUIOptions, ComfyUIProvider, type ContentCacheHealth, type ContentCacheIssue, type CostEstimate, type CostUnit, DEFAULT_HISTORY_LIMIT, DEFAULT_QUALITY_TOLERANCES, DEFAULT_RATE_LIMIT, DEFAULT_TIMEOUT_MS, type DoctorCheck, type DoctorLevel, type DoctorOptions, type DoctorReport, EDITOR_PIN, EDITOR_RELEASE_BASE, EXIT_CODES, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, type ErrorCode, FAKE_PNG, FONT_COST_GENERATIONS, FONT_GLYPH_SIZES, FONT_WEIGHTS, FRAME_SET_REVISION_MODES, type FakeOptions, FakeProvider, type FetchResult, type FontGlyphSize, type FontWeight, type GalleryBuild, type GalleryEditHandlerOptions, type GalleryEditMeta, type GalleryEditorHandlers, type GalleryEditorOptions, type GalleryEditorStatus, type GalleryGenerateHandlers, type GalleryGeneration, type GalleryItem, type GalleryMedia, type GalleryOutput, type GalleryProject, type GalleryProjectContext, type GalleryQuality, type GalleryServer, type GalleryServerOptions, type GallerySnapshot, type GalleryState, type GalleryStyle, type GenerateFontOptions, type GenerateFontResult, type GenerateHandlerOptions, type GenerateJob, type GeneratePhase, GenerateRequestError, GenerateRequestSchema, type GenerateStatus, type Generator, GeneratorSchema, type GenericTileset, type GridConfidence, GridConfidenceSchema, HAND_EDIT_DIR, HISTORY_ENV, type HandEditCompanion, HandEditCompanionSchema, type HandEditMember, type HandEditSave, type HandEditSaveInput, type HandEditStart, type HandEditStatus, type HistoryPick, type ImageQualityMetrics, ImageQualityMetricsSchema, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type JobState, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, type MapScene, type MapScenePlacement, MapScenePlacementSchema, MapSceneSchema, MediaType, type MountPlacement, type MountedSheet, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXELATE_COST_GENERATIONS, PIXELATE_MAX_SIDE, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, PRO_TIER_PRICES, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, type PixelLabCharacter, type PixelLabCharacterAnimation, PixelLabClient, PixelLabError, type PixelLabObject, PixelLabProvider, type PixelLabUsage, type PixelateOptions, type PixelateResult, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type Postprocess, PostprocessSchema, type PrepareReviewOptions, type ProFlashCostOperation, type ProFlashQuote, type Project, ProjectError, type Provider, ProviderError, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCheck, type QualityProfile, type QualityProfileInspection, QualityProfileSchema, type QualityProfileState, type QualityRegressionCaseResult, type QualityRegressionReport, type QualitySnapshotResult, QualityToleranceSchema, type QualityTolerances, type RateLimit, type Recipe, type RecipeFileVerification, type RecipeModelVerification, RecipeSchema, type RecipeVerification, type RefineAudit, type RefineFrameSetOptions, type RefineFrameSetResult, type RefineOptions, type RefineQualityProfilesOptions, type RefineQualityProfilesResult, type RefineRecordOptions, type RefineResult, type RefreshContext, type RemoteAsset, type RemoteCharacter, type RemoteCharacterDetail, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedBatch, type ResolvedCharacter, type ResolvedMapScene, type ResolvedMirror, type ResolvedObjectPro, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, type ResolvedRevisionMember, type ResolvedSpec, type ResolvedStyleAnchor, type ResolvedStyleImage, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionDithering, RevisionDitheringSchema, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, SHEET_FORMATS, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetAtlas, type SheetFormat, type SheetFormatOptions, type SheetGroup, type SiblingManifest, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultOpenCommand, defaultPixelateOut, defaultUnzoomOut, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, galleryContentSecurityPolicy, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, matchOrphanStyle, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseProFlashQuote, parseTerrainDescriptions, parseWorkspace, pickHistory, pixelateFile, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proTierCost, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, recipeDigest, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderAsepriteSheet, renderGallery, renderGodotSpriteFrames, renderSalvageSheet, renderSheet, renderSheetDocument, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, slugify, snapshotQualityBaseline, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
package/dist/index.d.ts CHANGED
@@ -556,18 +556,19 @@ type SkeletonSet = z.infer<typeof SkeletonSetSchema>;
556
556
  * Arbitrary width x height. Returns exactly one result, so there is no
557
557
  * selection step: if you dislike it, re-roll for 1 more.
558
558
  *
559
- * 1dir POST /create-1-direction-object. 20-40 generations.
559
+ * 1dir POST /create-1-direction-object. 10-25 generations (20-40 before
560
+ * PixelLab's October 2026 Pro price cut).
560
561
  * The single-facing sibling of create-8-direction-object, meant for
561
562
  * objects you may later want rotations or animations of. Square only.
562
563
  * Returns 4-64 candidates for its one fixed price, which is genuinely
563
- * useful when you want to compare options side by side, but at 40x the
564
- * cost of a map object, re-rolling a map object forty times is the same
565
- * money. Reach for this when you need rotations, or when the extra
566
- * rendering detail is worth 40x.
564
+ * useful when you want to compare options side by side, but at 10-25x
565
+ * the cost of a map object, re-rolling a map object that many times is
566
+ * the same money. Reach for this when you need rotations, or when the
567
+ * extra rendering detail is worth it.
567
568
  *
568
569
  * Rule of thumb: if the asset is a standalone image and you are not going to
569
570
  * animate or rotate it, `map` is the right call. Generating 65 icons costs 65
570
- * generations that way and 2,600 the other.
571
+ * generations that way and 650-1,625 the other.
571
572
  *
572
573
  * Not yet implemented, but measured and worth knowing (see README):
573
574
  * POST /create-image-pixflux also costs 1 generation, returns the image
@@ -638,31 +639,35 @@ declare function candidateCount(size: number): number;
638
639
  * map FLAT 1 generation, any size. Verified: a 32x36 and a 64x96 map object
639
640
  * each cost exactly 1 (balance 4751 → 4750 → 4749). Single result.
640
641
  *
641
- * 1dir 20-40 by canvas tier (1K=20, 2K=25, 4K=40), returning 4-64
642
- * candidates for that one price.
642
+ * 1dir 10-25 by canvas tier (1K=10, 2K=15, 4K=25), returning 4-64
643
+ * candidates for that one price. PixelLab cut every Pro tier in
644
+ * October 2026 (release 0.4.128) from 20/25/40 to 10/15/25;
645
+ * re-measuring `inpaint-v3` showed the breakpoints did not move
646
+ * (see `proTierCost`).
643
647
  *
644
- * tiles 20-40 on the same canvas tiers as `1dir`, but the canvas is picked
648
+ * tiles 10-25 on the same canvas tiers as `1dir`, but the canvas is picked
645
649
  * from tile size x variation count rather than a single sprite, so a
646
650
  * small tile in a large set can still reach the top tier. Reported by
647
651
  * the API at submit time; estimated here from the widest canvas the
648
652
  * request can produce, which is the honest direction to be wrong in
649
653
  * for a `--budget` check.
650
654
  *
651
- * imagePro FLAT 40 generations, any size or aspect ratio, regardless of
652
- * canvas tier (docs/ENDPOINTS.md, "Single-image generators,
653
- * measured"). `/generate-image-v2`, the Pro image tier: unlike
654
- * `pixflux`, it reaches non-square canvases up to 792x688 and does
655
- * real style transfer, at a flat price rather than one that scales
656
- * with area the way `1dir`/`tiles` do.
655
+ * imagePro Tiered since October 2026, see `proTierCost`. It was a flat 40
656
+ * at any size before PixelLab's 0.4.128 price cut; a 64x64 call
657
+ * billed exactly 10 after it (docs/ENDPOINTS.md, "Single-image
658
+ * generators, measured"). `/generate-image-v2`, the Pro image tier:
659
+ * unlike `pixflux`, it reaches non-square canvases up to 792x688
660
+ * and does real style transfer.
657
661
  *
658
662
  * uiAsset Confirmed live at one data point, and it disproved the borrowed
659
663
  * formula: a real 256x192 (49152px²) call billed exactly 20
660
- * generations (balance 4979.8 → 4959.8), the low end of the
661
- * `create_ui_asset` MCP tool's "20-40 generations" claim. No
664
+ * generations (balance 4979.8 → 4959.8) under the old prices, the
665
+ * low end of the `create_ui_asset` MCP tool's then "20-40
666
+ * generations" claim (10 at today's floor). No
662
667
  * dedicated branch exists here, so it still falls through to the
663
668
  * same canvas-tier formula as `1dir`/`tiles` below, which — given
664
669
  * uiAsset's 192px-per-side floor (36864px²) already past the
665
- * 2048px² top tier — always predicts the 40 ceiling. That
670
+ * 2048px² top tier — always predicts the 25 ceiling. That
666
671
  * prediction is now known wrong: 49152px² sits well above where
667
672
  * `1dir`/`tiles` would bill 40, yet this billed the floor price.
668
673
  * Left unpatched from one data point, which keeps `--budget` an
@@ -680,11 +685,29 @@ declare function candidateCount(size: number): number;
680
685
  * through to the same canvas tiers as `1dir`/`tiles`, the safe
681
686
  * over-read for a Pro endpoint.
682
687
  *
683
- * So `1dir` buys candidate variety at 20-40x the price, and `map` buys
688
+ * So `1dir` buys candidate variety at 10-25x the price, and `map` buys
684
689
  * arbitrary (non-square) dimensions nearly free. For a single-result asset,
685
- * forty re-rolls of a map object cost the same as one 1dir call.
690
+ * ten to twenty-five re-rolls of a map object cost the same as one 1dir call.
686
691
  */
687
692
  declare function generationCost(width: number, height: number, generator?: Generator): number;
693
+ /**
694
+ * PixelLab's Pro price ladder, floor to ceiling, in generations. PixelLab's
695
+ * release 0.4.128 (October 2026) cut it from 20/25/40 to 10/15/25 across
696
+ * every Pro tool: images, edits, inpaints, objects, Pro characters, states,
697
+ * and Pro animations. PixelLab's own OpenAPI now quotes "10-25 generations"
698
+ * for objects, Pro characters, and Pro animations.
699
+ */
700
+ declare const PRO_TIER_PRICES: readonly [10, 15, 25];
701
+ /**
702
+ * One Pro call on a canvas whose size is known, at the breakpoints measured
703
+ * on `/inpaint-v3` (docs/ENDPOINTS.md): up to 256x256 (65536px²) is the
704
+ * floor, up to 320x320 (102400px²) the middle tier, anything larger the
705
+ * top. PixelLab's release notes describe the new tiers as 16-256, 256-384,
706
+ * and 384-512 per side, but re-measured after the cut, 256x256 billed 10,
707
+ * 288x288 15, and both 352x352 and 384x384 billed 25: the breakpoints did
708
+ * not move, only the prices.
709
+ */
710
+ declare function proTierCost(width: number, height: number): number;
688
711
  /**
689
712
  * Cost of one `tiles` call. Same canvas tiers as `1dir`, but the canvas is the
690
713
  * sheet the API lays the variations out on, not one tile, so tile size alone
@@ -13592,7 +13615,8 @@ declare class PixelLabClient {
13592
13615
  * A full-body sprite in, a bust portrait out (or the reverse, unused
13593
13616
  * today). Job-based like a state or `1dir`, not the couple-generations
13594
13617
  * "conversion" the name suggests: the smallest `resultSize` (16px) billed
13595
- * 20 generations live (docs/ENDPOINTS.md, "Characters, measured").
13618
+ * 20 generations live (docs/ENDPOINTS.md, "Characters, measured"), the
13619
+ * Pro floor before PixelLab's October 2026 cut put it at 10.
13596
13620
  */
13597
13621
  createPortraitCharacterPro(args: {
13598
13622
  direction: "portrait_to_character" | "character_to_portrait";
@@ -13630,7 +13654,8 @@ declare class PixelLabClient {
13630
13654
  * everything else here, but the completed job returns the result frames
13631
13655
  * inline as base64 (`last_response.quantized_images`), not as storage
13632
13656
  * URLs — the one PixelLab character tool that works this way. A live
13633
- * 2-frame, 92x92 job billed 20 generations (docs/ENDPOINTS.md).
13657
+ * 2-frame, 92x92 job billed 20 generations (docs/ENDPOINTS.md), before
13658
+ * PixelLab's October 2026 Pro cut halved that floor to 10.
13634
13659
  */
13635
13660
  transferOutfitV2(args: {
13636
13661
  referenceImage: Base64Image & {
@@ -13672,7 +13697,9 @@ declare class PixelLabClient {
13672
13697
  * far higher than this tiering assumes; 352x352 (123904px²), 384x384
13673
13698
  * (147456px²), and 512x512 (262144px², the tiering ceiling) all billed
13674
13699
  * 40. Both breakpoints are now tightly bracketed: 20->25 in
13675
- * (65536px², 82944px²], 25->40 in (102400px², 123904px²].
13700
+ * (65536px², 82944px²], 25->40 in (102400px², 123904px²]. Those prices
13701
+ * predate PixelLab's October 2026 Pro cut to 10/15/25; `proTierCost`
13702
+ * keeps the breakpoints with the new prices.
13676
13703
  * `editImagesV2` below returns the same fields under `images`, plural
13677
13704
  * and array-wrapped, not `image` — do not assume the two endpoints share
13678
13705
  * one response shape. See docs/ENDPOINTS.md and docs/REVISIONS.md for
@@ -13718,8 +13745,9 @@ declare class PixelLabClient {
13718
13745
  status: string;
13719
13746
  }>;
13720
13747
  /**
13721
- * PixelLab's Pro image tier, `/generate-image-v2`: a flat 40 generations
13722
- * (docs/ENDPOINTS.md, "Single-image generators, measured") for real style
13748
+ * PixelLab's Pro image tier, `/generate-image-v2`: 10 to 25 generations by
13749
+ * canvas since PixelLab's October 2026 Pro cut, a flat 40 before
13750
+ * (docs/ENDPOINTS.md, "Single-image generators, measured"), for real style
13723
13751
  * transfer and non-square canvases up to 792x688, where `pixflux` is
13724
13752
  * limited to 400x400 and no style reference. Like a revision, this hands
13725
13753
  * back a plain background job with no resource of its own; unlike a
@@ -13788,6 +13816,19 @@ declare class PixelLabClient {
13788
13816
  noBackground?: boolean;
13789
13817
  seed?: number;
13790
13818
  }): Promise<z.output<typeof ProFlashImageSubmitSchema>>;
13819
+ /**
13820
+ * `/image-to-pixelart-pro-flash`: a photo, painting, or render in, pixel
13821
+ * art out, with no size to pass: PixelLab detects the native pixel scale
13822
+ * and picks the output size (a 256x256 render came back 108x109, on a
13823
+ * transparent background). A flat 6 generations, billed exactly that live
13824
+ * in October 2026. Sources over 2048px on the longer side are scaled down
13825
+ * upstream. The finished job carries the image at `last_response.images[0]`.
13826
+ */
13827
+ imageToPixelartProFlash(args: {
13828
+ image: Base64Image;
13829
+ description?: string;
13830
+ seed?: number;
13831
+ }): Promise<z.output<typeof ProFlashImageSubmitSchema>>;
13791
13832
  /**
13792
13833
  * `/generate-ui-v2` ("Generate UI (Pro)"): one UI element (a button, a
13793
13834
  * health bar, an inventory slot, a dialogue box) from a description,
@@ -17154,8 +17195,12 @@ declare const FONT_WEIGHTS: readonly ["Bold", "Regular"];
17154
17195
  type FontWeight = (typeof FONT_WEIGHTS)[number];
17155
17196
  declare const FONT_GLYPH_SIZES: readonly [8, 16, 32, 64];
17156
17197
  type FontGlyphSize = (typeof FONT_GLYPH_SIZES)[number];
17157
- /** Documented price of one `/generate-font-pro` call, on a subscription. Not yet confirmed against a live bill. */
17158
- declare const FONT_COST_GENERATIONS = 25;
17198
+ /**
17199
+ * Documented price of one `/generate-font-pro` call, on a subscription: 15
17200
+ * since PixelLab's October 2026 Pro cut (25 before). Not yet confirmed
17201
+ * against a live bill.
17202
+ */
17203
+ declare const FONT_COST_GENERATIONS = 15;
17159
17204
  interface GenerateFontOptions {
17160
17205
  description: string;
17161
17206
  weight: FontWeight;
@@ -17190,6 +17235,49 @@ declare function fontOutputPaths(out: string): {
17190
17235
  * `download`.
17191
17236
  */
17192
17237
  declare function generateFont(client: Pick<PixelLabClient, "generateFontPro" | "getFontJob" | "download">, opts: GenerateFontOptions): Promise<GenerateFontResult>;
17238
+ /** `/image-to-pixelart-pro-flash`'s flat price, billed exactly this live in October 2026. */
17239
+ declare const PIXELATE_COST_GENERATIONS = 6;
17240
+ /** Sources longer than this on either side are scaled down by PixelLab before conversion; they are not refused. */
17241
+ declare const PIXELATE_MAX_SIDE = 2048;
17242
+ interface PixelateOptions {
17243
+ /** Defaults to `<input>.pixel.png` beside the input. */
17244
+ out?: string;
17245
+ /** Optional style steer, e.g. "retro vibes with light dithering". */
17246
+ description?: string;
17247
+ seed?: number;
17248
+ force?: boolean;
17249
+ /** Poll interval and ceiling. Conversions measured at about 30 s. */
17250
+ intervalMs?: number;
17251
+ timeoutMs?: number;
17252
+ onProgress?: (status: string) => void;
17253
+ sleep?: (ms: number) => Promise<void>;
17254
+ }
17255
+ interface PixelateResult {
17256
+ jobId: string;
17257
+ out: string;
17258
+ original: {
17259
+ width: number;
17260
+ height: number;
17261
+ };
17262
+ pixelated: {
17263
+ width: number;
17264
+ height: number;
17265
+ };
17266
+ /** PixelLab's gallery id for the result, reusable as a Pro Flash `source_image_id`. */
17267
+ imageId: string;
17268
+ usage: unknown;
17269
+ }
17270
+ /** Where `pixelate` writes when no `--out` is given: beside the input, never over it. */
17271
+ declare function defaultPixelateOut(input: string): string;
17272
+ /**
17273
+ * Convert a photo, painting, or render into pixel art with PixelLab's Image
17274
+ * to Pixel Art Pro Flash, wait for it, and write the PNG. PixelLab picks the
17275
+ * output size itself from the source's detected pixel scale, so there is no
17276
+ * size option; the result keeps a transparent background where the model
17277
+ * finds one. For art that is already pixel art and merely upscaled, use
17278
+ * `unzoomFile` instead: it recovers the grid rather than redrawing.
17279
+ */
17280
+ declare function pixelateFile(client: Pick<PixelLabClient, "imageToPixelartProFlash" | "getBackgroundJob">, input: string, opts?: PixelateOptions): Promise<PixelateResult>;
17193
17281
 
17194
17282
  interface RevisionReadiness {
17195
17283
  ready: boolean;
@@ -18206,7 +18294,11 @@ interface ReviewReadyInfo {
18206
18294
  */
18207
18295
  interface ReviewSession {
18208
18296
  groups: SheetGroup[];
18209
- /** Exact local media routes the sheet references (revision sources). */
18297
+ /**
18298
+ * Exact local media routes the sheet references: revision sources, the art
18299
+ * a regeneration replaces, and any frame or candidate the provider cached
18300
+ * on local disk.
18301
+ */
18210
18302
  assets: ReadonlyMap<string, {
18211
18303
  path: string;
18212
18304
  contentType: string;
@@ -23015,4 +23107,4 @@ interface WorkspaceStatusReport {
23015
23107
  */
23016
23108
  declare function workspaceStatus(ws: Workspace, dir: string): Promise<WorkspaceStatusReport>;
23017
23109
 
23018
- export { type AdoptResult, type ApproveQualityOptions, type ApprovedQualityReview, type ArtifactBundleManifest, type ArtifactBundleOptions, type ArtifactBundleResult, type ArtifactFile, type ArtifactProvenance, type ArtifactSource, type ArtifactVerification, type Asset, type AssetAudit, type AssetBatch, AssetBatchSchema, AssetSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, type BilledAmount, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, CHARACTER_PROPORTION_PRESETS, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, type CharacterOutfit, CharacterOutfitSchema, type CharacterPortrait, CharacterPortraitSchema, type CharacterPortraitSize, CharacterPortraitSizeSchema, type CharacterProportions, CharacterProportionsSchema, type CharacterState, CharacterStateSchema, type ComfyUIBinding, type ComfyUIBindings, type ComfyUIFramesOptions, type ComfyUIImageInput, type ComfyUIOptions, ComfyUIProvider, type ContentCacheHealth, type ContentCacheIssue, type CostEstimate, type CostUnit, DEFAULT_HISTORY_LIMIT, DEFAULT_QUALITY_TOLERANCES, DEFAULT_RATE_LIMIT, DEFAULT_TIMEOUT_MS, type DoctorCheck, type DoctorLevel, type DoctorOptions, type DoctorReport, EDITOR_PIN, EDITOR_RELEASE_BASE, EXIT_CODES, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, type ErrorCode, FAKE_PNG, FONT_COST_GENERATIONS, FONT_GLYPH_SIZES, FONT_WEIGHTS, FRAME_SET_REVISION_MODES, type FakeOptions, FakeProvider, type FetchResult, type FontGlyphSize, type FontWeight, type GalleryBuild, type GalleryEditHandlerOptions, type GalleryEditMeta, type GalleryEditorHandlers, type GalleryEditorOptions, type GalleryEditorStatus, type GalleryGenerateHandlers, type GalleryGeneration, type GalleryItem, type GalleryMedia, type GalleryOutput, type GalleryProject, type GalleryProjectContext, type GalleryQuality, type GalleryServer, type GalleryServerOptions, type GallerySnapshot, type GalleryState, type GalleryStyle, type GenerateFontOptions, type GenerateFontResult, type GenerateHandlerOptions, type GenerateJob, type GeneratePhase, GenerateRequestError, GenerateRequestSchema, type GenerateStatus, type Generator, GeneratorSchema, type GenericTileset, type GridConfidence, GridConfidenceSchema, HAND_EDIT_DIR, HISTORY_ENV, type HandEditCompanion, HandEditCompanionSchema, type HandEditMember, type HandEditSave, type HandEditSaveInput, type HandEditStart, type HandEditStatus, type HistoryPick, type ImageQualityMetrics, ImageQualityMetricsSchema, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type JobState, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, type MapScene, type MapScenePlacement, MapScenePlacementSchema, MapSceneSchema, MediaType, type MountPlacement, type MountedSheet, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, type PixelLabCharacter, type PixelLabCharacterAnimation, PixelLabClient, PixelLabError, type PixelLabObject, PixelLabProvider, type PixelLabUsage, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type Postprocess, PostprocessSchema, type PrepareReviewOptions, type ProFlashCostOperation, type ProFlashQuote, type Project, ProjectError, type Provider, ProviderError, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCheck, type QualityProfile, type QualityProfileInspection, QualityProfileSchema, type QualityProfileState, type QualityRegressionCaseResult, type QualityRegressionReport, type QualitySnapshotResult, QualityToleranceSchema, type QualityTolerances, type RateLimit, type Recipe, type RecipeFileVerification, type RecipeModelVerification, RecipeSchema, type RecipeVerification, type RefineAudit, type RefineFrameSetOptions, type RefineFrameSetResult, type RefineOptions, type RefineQualityProfilesOptions, type RefineQualityProfilesResult, type RefineRecordOptions, type RefineResult, type RefreshContext, type RemoteAsset, type RemoteCharacter, type RemoteCharacterDetail, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedBatch, type ResolvedCharacter, type ResolvedMapScene, type ResolvedMirror, type ResolvedObjectPro, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, type ResolvedRevisionMember, type ResolvedSpec, type ResolvedStyleAnchor, type ResolvedStyleImage, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionDithering, RevisionDitheringSchema, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, SHEET_FORMATS, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetAtlas, type SheetFormat, type SheetFormatOptions, type SheetGroup, type SiblingManifest, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultOpenCommand, defaultUnzoomOut, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, galleryContentSecurityPolicy, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, matchOrphanStyle, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseProFlashQuote, parseTerrainDescriptions, parseWorkspace, pickHistory, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, recipeDigest, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderAsepriteSheet, renderGallery, renderGodotSpriteFrames, renderSalvageSheet, renderSheet, renderSheetDocument, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, slugify, snapshotQualityBaseline, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
23110
+ export { type AdoptResult, type ApproveQualityOptions, type ApprovedQualityReview, type ArtifactBundleManifest, type ArtifactBundleOptions, type ArtifactBundleResult, type ArtifactFile, type ArtifactProvenance, type ArtifactSource, type ArtifactVerification, type Asset, type AssetAudit, type AssetBatch, AssetBatchSchema, AssetSchema, type AtlasSet, type AuditEvaluation, type AuditThresholds, type AuditViolation, type Balance, type BalanceChange, type BalanceInfo, type Base64Image, type BilledAmount, BudgetError, type BuildGalleryOptions, type BuildWorkspaceGalleryOptions, CHARACTER_DIRECTIONS_4, CHARACTER_DIRECTIONS_8, CHARACTER_PROPORTION_PRESETS, type CacheHealthOptions, type CacheHealthReport, type CandidateSelection, type CharacterAnimation, type CharacterAnimationMode, CharacterAnimationModeSchema, CharacterAnimationSchema$1 as CharacterAnimationSchema, type CharacterDirection, CharacterDirectionSchema, type CharacterMode, CharacterModeSchema, type CharacterOutfit, CharacterOutfitSchema, type CharacterPortrait, CharacterPortraitSchema, type CharacterPortraitSize, CharacterPortraitSizeSchema, type CharacterProportions, CharacterProportionsSchema, type CharacterState, CharacterStateSchema, type ComfyUIBinding, type ComfyUIBindings, type ComfyUIFramesOptions, type ComfyUIImageInput, type ComfyUIOptions, ComfyUIProvider, type ContentCacheHealth, type ContentCacheIssue, type CostEstimate, type CostUnit, DEFAULT_HISTORY_LIMIT, DEFAULT_QUALITY_TOLERANCES, DEFAULT_RATE_LIMIT, DEFAULT_TIMEOUT_MS, type DoctorCheck, type DoctorLevel, type DoctorOptions, type DoctorReport, EDITOR_PIN, EDITOR_RELEASE_BASE, EXIT_CODES, EditorInstallError, type EditorInstallOptions, type EditorInstallProgress, type EditorInstallResult, type EditorInstallStatus, type EditorPin, type ErrorCode, FAKE_PNG, FONT_COST_GENERATIONS, FONT_GLYPH_SIZES, FONT_WEIGHTS, FRAME_SET_REVISION_MODES, type FakeOptions, FakeProvider, type FetchResult, type FontGlyphSize, type FontWeight, type GalleryBuild, type GalleryEditHandlerOptions, type GalleryEditMeta, type GalleryEditorHandlers, type GalleryEditorOptions, type GalleryEditorStatus, type GalleryGenerateHandlers, type GalleryGeneration, type GalleryItem, type GalleryMedia, type GalleryOutput, type GalleryProject, type GalleryProjectContext, type GalleryQuality, type GalleryServer, type GalleryServerOptions, type GallerySnapshot, type GalleryState, type GalleryStyle, type GenerateFontOptions, type GenerateFontResult, type GenerateHandlerOptions, type GenerateJob, type GeneratePhase, GenerateRequestError, GenerateRequestSchema, type GenerateStatus, type Generator, GeneratorSchema, type GenericTileset, type GridConfidence, GridConfidenceSchema, HAND_EDIT_DIR, HISTORY_ENV, type HandEditCompanion, HandEditCompanionSchema, type HandEditMember, type HandEditSave, type HandEditSaveInput, type HandEditStart, type HandEditStatus, type HistoryPick, type ImageQualityMetrics, ImageQualityMetricsSchema, InheritedStyleSchema, type InstallRecipeOptions, type InstallRecipeResult, type JobState, type LoadedManifest, type LoadedRecipe, type Lock, type LockEntry, LockEntrySchema, type LockHistoryEntry, LockHistoryEntrySchema, type LockOutput, LockSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, type MapScene, type MapScenePlacement, MapScenePlacementSchema, MapSceneSchema, MediaType, type MountPlacement, type MountedSheet, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXELATE_COST_GENERATIONS, PIXELATE_MAX_SIDE, PIXEL_ART_FIXER_REVISION, PIXEL_ART_FIXER_URL, PRO_TIER_PRICES, type PackedFrame, type PackedSheet, type PackedSource, type PendingQualityReview, type PickResult, type PixelArtFixerDetection, PixelKilnError, type PixelKilnErrorOptions, type PixelLabCharacter, type PixelLabCharacterAnimation, PixelLabClient, PixelLabError, type PixelLabObject, PixelLabProvider, type PixelLabUsage, type PixelateOptions, type PixelateResult, type Plan, type PlanItem, type PlanState, type PollContext, type PollOptions, type PollResult, type Postprocess, PostprocessSchema, type PrepareReviewOptions, type ProFlashCostOperation, type ProFlashQuote, type Project, ProjectError, type Provider, ProviderError, type ProviderFactory, type ProviderInputContext, type ProviderInputScalar, type ProviderInputValue, type ProviderMetadata, type ProviderMode, type ProviderOptionContext, type ProviderSubmission, type QualityBaseline, QualityBaselineSchema, type QualityCheck, type QualityProfile, type QualityProfileInspection, QualityProfileSchema, type QualityProfileState, type QualityRegressionCaseResult, type QualityRegressionReport, type QualitySnapshotResult, QualityToleranceSchema, type QualityTolerances, type RateLimit, type Recipe, type RecipeFileVerification, type RecipeModelVerification, RecipeSchema, type RecipeVerification, type RefineAudit, type RefineFrameSetOptions, type RefineFrameSetResult, type RefineOptions, type RefineQualityProfilesOptions, type RefineQualityProfilesResult, type RefineRecordOptions, type RefineResult, type RefreshContext, type RemoteAsset, type RemoteCharacter, type RemoteCharacterDetail, type RemoteHashCacheHealth, type RenderGalleryOptions, type RenderSheetOptions, type ResolvedBatch, type ResolvedCharacter, type ResolvedMapScene, type ResolvedMirror, type ResolvedObjectPro, type ResolvedOutput, type ResolvedProviderInputs, type ResolvedProviderOptions, type ResolvedQualityInput, type ResolvedQualityProfile, type ResolvedReferenceImage, type ResolvedRevision, type ResolvedRevisionMember, type ResolvedSpec, type ResolvedStyleAnchor, type ResolvedStyleImage, type ResumeAction, type ResumeCommand, type RetroDiffusionOptions, RetroDiffusionProvider, type RetryInit, type RetryOptions, type RetryingFetch, type RevertOptions, type RevertResult, type ReviewReadyInfo, type ReviewSession, type Revision, type RevisionDithering, RevisionDitheringSchema, type RevisionMode, RevisionModeSchema, type RevisionReadiness, RevisionSchema, SHEET_FORMATS, type SalvageAction, type SalvageResult, type ScannedAsset, type ScenarioOptions, ScenarioProvider, type SessionBudget, type SheetAtlas, type SheetFormat, type SheetFormatOptions, type SheetGroup, type SiblingManifest, type SpriteInput, type Style, type StyleAudit, type StyleInput, StyleInputSchema, StyleSchema, type SubmissionCheckpoint, type SubmitContext, type SubmitOptions, type SubmitResult, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultOpenCommand, defaultPixelateOut, defaultUnzoomOut, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, galleryContentSecurityPolicy, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, matchOrphanStyle, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseProFlashQuote, parseTerrainDescriptions, parseWorkspace, pickHistory, pixelateFile, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proTierCost, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, recipeDigest, referencedHashes, refineAsset, refineFrameSet, refineQualityProfiles, registerProvider, remove, renderAsepriteSheet, renderGallery, renderGodotSpriteFrames, renderSalvageSheet, renderSheet, renderSheetDocument, requireApprovedQualitySources, requireBalance, requireDelete, requireList, requireRevisionReady, requireSelectCandidate, resolveEntryOutputs, resolveOutputPath, resolvePackInputs, resolveProject, resolveQualityInputs, resolveRecipe, resolveSpecEntryOutputs, resolveSpecOutputs, resolveSpecs, resolveStyleImages, resolveStyleOutputs, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, slugify, snapshotQualityBaseline, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };