pixelkiln 0.92.2 → 0.92.3
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/PROVIDERS.md +2 -2
- package/dist/cli.js +48 -24
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +52 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +52 -26
- package/dist/index.d.ts +52 -26
- package/dist/index.js +50 -24
- package/dist/index.js.map +1 -1
- package/docs/ENDPOINTS.md +39 -37
- package/docs/GENERATORS.md +36 -27
- package/docs/PIXELLAB.md +2 -2
- package/docs/REVISIONS.md +31 -27
- package/package.json +1 -1
- package/skills/pixelkiln/references/pixellab-fidelity.md +2 -1
- package/skills/pixelkiln/references/pixellab-roadmap.md +31 -23
- package/skills/pixelkiln/references/pixellab.md +19 -16
package/dist/index.d.cts
CHANGED
|
@@ -667,6 +667,15 @@ declare function tileFeatureOutputCount(feature: string | undefined): number | n
|
|
|
667
667
|
declare function countNumberedDescriptions(prompt: string): number;
|
|
668
668
|
/** Candidate frames returned per call, derived from size. Extra candidates are free. */
|
|
669
669
|
declare function candidateCount(size: number): number;
|
|
670
|
+
/**
|
|
671
|
+
* Candidates `/generate-ui-v2` returns, by the longer side of the request.
|
|
672
|
+
* It is the same size-tiered grid as `/generate-image-v2`, but finer than
|
|
673
|
+
* `candidateCount`'s three bands: a live 32x32 call returned 64 candidates
|
|
674
|
+
* (docs/ENDPOINTS.md); the other bands are PixelLab's published grid, not
|
|
675
|
+
* re-measured here. Candidates cost nothing extra, so this only shapes the
|
|
676
|
+
* plan output and review routing.
|
|
677
|
+
*/
|
|
678
|
+
declare function uiElementCandidateCount(size: number): number;
|
|
670
679
|
/**
|
|
671
680
|
* Generation cost per call. Measured against a live account, not inferred.
|
|
672
681
|
*
|
|
@@ -717,10 +726,10 @@ declare function candidateCount(size: number): number;
|
|
|
717
726
|
* beyond. Priced by the adapter, not by this table; see
|
|
718
727
|
* `proFlashImageCost` in providers/pixellab.ts.
|
|
719
728
|
*
|
|
720
|
-
* uiElement
|
|
721
|
-
*
|
|
722
|
-
* through to the same canvas
|
|
723
|
-
*
|
|
729
|
+
* uiElement `/generate-ui-v2` ("Generate UI (Pro)"): a 32x32 call billed
|
|
730
|
+
* exactly 10 live (November 2026) and returned 64 candidates (see
|
|
731
|
+
* `uiElementCandidateCount`). It falls through to the same canvas
|
|
732
|
+
* tiers as `1dir`/`tiles`; other sizes are unmeasured.
|
|
724
733
|
*
|
|
725
734
|
* So `1dir` buys candidate variety at 10-25x the price, and `map` buys
|
|
726
735
|
* arbitrary (non-square) dimensions nearly free. For a single-result asset,
|
|
@@ -745,6 +754,23 @@ declare const PRO_TIER_PRICES: readonly [10, 15, 25];
|
|
|
745
754
|
* not move, only the prices.
|
|
746
755
|
*/
|
|
747
756
|
declare function proTierCost(width: number, height: number): number;
|
|
757
|
+
/**
|
|
758
|
+
* Cost of one `/animate-pixminimax` call. PixelLab's MCP table publishes
|
|
759
|
+
* 64x64 at 4/8/16/40 frames = 1/1/2/6 generations (80x80 at 8 = 1, 32x32 at
|
|
760
|
+
* 4 = 1), and a live 64x64 call billed 1 at 8 frames and 2 at 16.
|
|
761
|
+
*
|
|
762
|
+
* Priced in 64x64-frame equivalents, f = width * height * frames / 4096,
|
|
763
|
+
* through a piecewise-linear curve over those anchors, ceiled: 1 up to f=8,
|
|
764
|
+
* then 1 -> 2 over 8..16, 2 -> 6 over 16..40. Above f=40 it extrapolates at
|
|
765
|
+
* the last segment's slope (one generation per 6 equivalents) rather than
|
|
766
|
+
* capping, so 256x256 at 40 frames reads 106: PixelLab says the model works
|
|
767
|
+
* on an upscaled canvas and sizes just above 64 or 128 are cheaper than just
|
|
768
|
+
* below, so area scaling is an over-read there, the safe direction for
|
|
769
|
+
* `--budget`. It is monotonic in frames and canvas and lands exactly on every
|
|
770
|
+
* published anchor (80x80 at 8 reads 2 against a published 1, a deliberate
|
|
771
|
+
* over-read). `enhance_prompt` adds its documented 0.05.
|
|
772
|
+
*/
|
|
773
|
+
declare function pixMiniMaxCost(width: number, height: number, frames: number, enhancePrompt?: boolean): number;
|
|
748
774
|
/**
|
|
749
775
|
* Cost of one `tiles` call. Same canvas tiers as `1dir`, but the canvas is the
|
|
750
776
|
* sheet the API lays the variations out on, not one tile, so tile size alone
|
|
@@ -16301,10 +16327,10 @@ declare class PixelLabClient {
|
|
|
16301
16327
|
* limited to 400x400 and no style reference. Like a revision, this hands
|
|
16302
16328
|
* back a plain background job with no resource of its own; unlike a
|
|
16303
16329
|
* revision, one call returns several candidate images to pick from (the
|
|
16304
|
-
* same 4/16/64-by-size tiering as `1dir`), not a single result
|
|
16305
|
-
*
|
|
16306
|
-
* pixellab.ts fails loudly rather than guess if `last_response.images`
|
|
16307
|
-
*
|
|
16330
|
+
* same 4/16/64-by-size tiering as `1dir`), not a single result. It has run
|
|
16331
|
+
* live (a 64x64 call billed 10, October 2026); `pollImagePro` in
|
|
16332
|
+
* pixellab.ts still fails loudly rather than guess if `last_response.images`
|
|
16333
|
+
* is not the field name.
|
|
16308
16334
|
*
|
|
16309
16335
|
* Reference images and a style image (`reference_images`, `style_image` +
|
|
16310
16336
|
* `style_options`) exist on this endpoint but are not modeled here yet.
|
|
@@ -16394,7 +16420,8 @@ declare class PixelLabClient {
|
|
|
16394
16420
|
* guided by an optional concept image and a natural-language color
|
|
16395
16421
|
* palette. A plain background job; unlike `/create-ui-asset` there is no
|
|
16396
16422
|
* piece/element layout, and sizes start at 16px instead of 192. Its
|
|
16397
|
-
* completed shape
|
|
16423
|
+
* completed shape came back as a list of candidates on a live
|
|
16424
|
+
* 32x32 call (64 of them, billed 10); `pollUiElement` still reads it
|
|
16398
16425
|
* defensively.
|
|
16399
16426
|
*/
|
|
16400
16427
|
generateUiV2(args: {
|
|
@@ -16610,11 +16637,10 @@ declare class PixelLabClient {
|
|
|
16610
16637
|
* no PixelLab character/object resource required — unlike `animateCharacter`
|
|
16611
16638
|
* / `animateObject`, `firstFrame` is whatever bytes the caller has on hand.
|
|
16612
16639
|
* A plain background job, like every other PixelLab async submission;
|
|
16613
|
-
*
|
|
16614
|
-
*
|
|
16615
|
-
*
|
|
16616
|
-
*
|
|
16617
|
-
* defensively, the same as `pollRevision` already does for image edits).
|
|
16640
|
+
* like `inpaintV3`/`editImagesV2`, it has run live (November 2026, a
|
|
16641
|
+
* 64x64 call of 4 frames billed 1 and returned 5 frames); `pollAnimateRevision`
|
|
16642
|
+
* in pixellab.ts still checks several plausible field names for the frame
|
|
16643
|
+
* list defensively, the same as `pollRevision` does for image edits.
|
|
16618
16644
|
*/
|
|
16619
16645
|
animateWithTextV3(args: {
|
|
16620
16646
|
firstFrame: Base64Image;
|
|
@@ -16694,8 +16720,8 @@ declare class PixelLabClient {
|
|
|
16694
16720
|
* `runEstimateSkeleton` in `src/cli/commands`) so the only PixelLab
|
|
16695
16721
|
* endpoint composed into `animate-with-skeleton-v3`'s submission is that
|
|
16696
16722
|
* one endpoint itself, not two unverified calls chained together.
|
|
16697
|
-
* Synchronous
|
|
16698
|
-
*
|
|
16723
|
+
* Synchronous, and it has run live (October 2026; see
|
|
16724
|
+
* `EstimateSkeletonResponseSchema`).
|
|
16699
16725
|
*/
|
|
16700
16726
|
estimateSkeleton(args: {
|
|
16701
16727
|
image: Base64Image;
|
|
@@ -16983,15 +17009,15 @@ declare class PixelLabProvider implements Provider {
|
|
|
16983
17009
|
* `pollRevision` above, but completing with an ORDERED FRAME LIST instead
|
|
16984
17010
|
* of a single image — the same `review-set` shape `pollCharacterAnimation`
|
|
16985
17011
|
* returns, minus any character/object resource to look the result up on
|
|
16986
|
-
* (there is none; this operates on a loose image).
|
|
16987
|
-
*
|
|
16988
|
-
*
|
|
16989
|
-
*
|
|
16990
|
-
*
|
|
16991
|
-
*
|
|
16992
|
-
*
|
|
16993
|
-
*
|
|
16994
|
-
*
|
|
17012
|
+
* (there is none; this operates on a loose image). Both
|
|
17013
|
+
* `/animate-with-text-v3` and `/animate-pixminimax` have run live
|
|
17014
|
+
* (November 2026) and the completed jobs were read correctly. The checks
|
|
17015
|
+
* below stay defensive (hosted URLs under a plausible key name, the same
|
|
17016
|
+
* `storage_urls.frames` shape character animations use, or inline base64
|
|
17017
|
+
* per frame, decoded to a local cache file the same way `pollRevision`'s
|
|
17018
|
+
* single-image case is) and fail loudly, naming the keys actually
|
|
17019
|
+
* received, if a shape ever differs. PixMiniMax includes the input frame,
|
|
17020
|
+
* so a set holds the requested count plus one.
|
|
16995
17021
|
*/
|
|
16996
17022
|
private pollAnimateRevision;
|
|
16997
17023
|
/**
|
|
@@ -26449,4 +26475,4 @@ interface WorkspaceStatusReport {
|
|
|
26449
26475
|
*/
|
|
26450
26476
|
declare function workspaceStatus(ws: Workspace, dir: string): Promise<WorkspaceStatusReport>;
|
|
26451
26477
|
|
|
26452
|
-
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 AssetVfx, AssetVfxSchema, 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, type LockTerrainSettings, LockTerrainSettingsSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type MakeVfxOptions, type MakeVfxResult, type MakeVfxWithArtistOptions, type MakeVfxWithArtistResult, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, type MapScene, type MapScenePlacement, MapScenePlacementSchema, MapSceneSchema, type McpImage, type McpToolResult, MediaType, type MountPlacement, type MountedSheet, NORMAL_MAP_CONVENTIONS, NORMAL_MAP_COST_GENERATIONS, NORMAL_MAP_MAX_FRAMES, NORMAL_MAP_MAX_SIDE, NORMAL_MAP_MIN_SIDE, type NormalMapConvention, NormalMapConventionSchema, type NormalMapOptions, type NormalMapResult, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXELATE_COST_GENERATIONS, PIXELATE_MAX_SIDE, PIXELLAB_MCP_URL, 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, PixelLabMcpClient, 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 ResolvedTerrainLink, type ResolvedVfx, 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, TARGET_PALETTE_GENERATORS, type TargetPaletteArg, type TerrainConnect, TerrainConnectSchema, type TerrainLink, TerrainLinkSchema, type TerrainSide, TerrainSideSchema, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetMetadata, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, VFX_ARTISTS, VFX_ARTIST_MAX_SPRITE, VFX_TOOL, type VfxArtist, type VfxArtistFile, type VfxArtistProvenance, type VfxArtistResult, type VfxExport, type VfxPart, VfxPartSchema, type VfxProvenance, type VfxWorkbenchOptions, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, assetInStyle, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultNormalMapOut, defaultOpenCommand, defaultPixelateOut, defaultUnzoomOut, describeVfx, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, frameSetLoop, galleryContentSecurityPolicy, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isBusyReply, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isVfxReference, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, makeVfx, makeVfxWithArtist, matchOrphanStyle, mcpClientFromEnv, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalMapFile, normalMapResultPng, normalMapSizeProblem, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseMcpBody, parseProFlashQuote, parseTerrainDescriptions, parseVfxArtistResult, parseVfxExport, parseVfxRecipe, parseVfxStep, parseWorkspace, pickHistory, pixelateFile, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proTierCost, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, readSavedVfxRecipe, readVfxConversation, readVfxRecipe, recipeDigest, recordedAnimationGroup, 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, resolveVfxSprite, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, runVfxWorkbench, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, sliceVfxSheet, slugify, snapshotQualityBaseline, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, targetPaletteBody, terrainCost, terrainSettings, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, vfxArtistCeiling, vfxArtistFiles, vfxArtistFrameFacts, vfxArtistQuote, vfxArtistSprite, vfxAtlasFrames, vfxJobFailure, vfxOutputPaths, vfxRecipeSha256, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
|
|
26478
|
+
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 AssetVfx, AssetVfxSchema, 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, type LockTerrainSettings, LockTerrainSettingsSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type MakeVfxOptions, type MakeVfxResult, type MakeVfxWithArtistOptions, type MakeVfxWithArtistResult, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, type MapScene, type MapScenePlacement, MapScenePlacementSchema, MapSceneSchema, type McpImage, type McpToolResult, MediaType, type MountPlacement, type MountedSheet, NORMAL_MAP_CONVENTIONS, NORMAL_MAP_COST_GENERATIONS, NORMAL_MAP_MAX_FRAMES, NORMAL_MAP_MAX_SIDE, NORMAL_MAP_MIN_SIDE, type NormalMapConvention, NormalMapConventionSchema, type NormalMapOptions, type NormalMapResult, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXELATE_COST_GENERATIONS, PIXELATE_MAX_SIDE, PIXELLAB_MCP_URL, 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, PixelLabMcpClient, 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 ResolvedTerrainLink, type ResolvedVfx, 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, TARGET_PALETTE_GENERATORS, type TargetPaletteArg, type TerrainConnect, TerrainConnectSchema, type TerrainLink, TerrainLinkSchema, type TerrainSide, TerrainSideSchema, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetMetadata, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, VFX_ARTISTS, VFX_ARTIST_MAX_SPRITE, VFX_TOOL, type VfxArtist, type VfxArtistFile, type VfxArtistProvenance, type VfxArtistResult, type VfxExport, type VfxPart, VfxPartSchema, type VfxProvenance, type VfxWorkbenchOptions, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, assetInStyle, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultNormalMapOut, defaultOpenCommand, defaultPixelateOut, defaultUnzoomOut, describeVfx, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, frameSetLoop, galleryContentSecurityPolicy, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isBusyReply, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isVfxReference, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, makeVfx, makeVfxWithArtist, matchOrphanStyle, mcpClientFromEnv, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalMapFile, normalMapResultPng, normalMapSizeProblem, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseMcpBody, parseProFlashQuote, parseTerrainDescriptions, parseVfxArtistResult, parseVfxExport, parseVfxRecipe, parseVfxStep, parseWorkspace, pickHistory, pixMiniMaxCost, pixelateFile, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proTierCost, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, readSavedVfxRecipe, readVfxConversation, readVfxRecipe, recipeDigest, recordedAnimationGroup, 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, resolveVfxSprite, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, runVfxWorkbench, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, sliceVfxSheet, slugify, snapshotQualityBaseline, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, targetPaletteBody, terrainCost, terrainSettings, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, uiElementCandidateCount, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, vfxArtistCeiling, vfxArtistFiles, vfxArtistFrameFacts, vfxArtistQuote, vfxArtistSprite, vfxAtlasFrames, vfxJobFailure, vfxOutputPaths, vfxRecipeSha256, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
|
package/dist/index.d.ts
CHANGED
|
@@ -667,6 +667,15 @@ declare function tileFeatureOutputCount(feature: string | undefined): number | n
|
|
|
667
667
|
declare function countNumberedDescriptions(prompt: string): number;
|
|
668
668
|
/** Candidate frames returned per call, derived from size. Extra candidates are free. */
|
|
669
669
|
declare function candidateCount(size: number): number;
|
|
670
|
+
/**
|
|
671
|
+
* Candidates `/generate-ui-v2` returns, by the longer side of the request.
|
|
672
|
+
* It is the same size-tiered grid as `/generate-image-v2`, but finer than
|
|
673
|
+
* `candidateCount`'s three bands: a live 32x32 call returned 64 candidates
|
|
674
|
+
* (docs/ENDPOINTS.md); the other bands are PixelLab's published grid, not
|
|
675
|
+
* re-measured here. Candidates cost nothing extra, so this only shapes the
|
|
676
|
+
* plan output and review routing.
|
|
677
|
+
*/
|
|
678
|
+
declare function uiElementCandidateCount(size: number): number;
|
|
670
679
|
/**
|
|
671
680
|
* Generation cost per call. Measured against a live account, not inferred.
|
|
672
681
|
*
|
|
@@ -717,10 +726,10 @@ declare function candidateCount(size: number): number;
|
|
|
717
726
|
* beyond. Priced by the adapter, not by this table; see
|
|
718
727
|
* `proFlashImageCost` in providers/pixellab.ts.
|
|
719
728
|
*
|
|
720
|
-
* uiElement
|
|
721
|
-
*
|
|
722
|
-
* through to the same canvas
|
|
723
|
-
*
|
|
729
|
+
* uiElement `/generate-ui-v2` ("Generate UI (Pro)"): a 32x32 call billed
|
|
730
|
+
* exactly 10 live (November 2026) and returned 64 candidates (see
|
|
731
|
+
* `uiElementCandidateCount`). It falls through to the same canvas
|
|
732
|
+
* tiers as `1dir`/`tiles`; other sizes are unmeasured.
|
|
724
733
|
*
|
|
725
734
|
* So `1dir` buys candidate variety at 10-25x the price, and `map` buys
|
|
726
735
|
* arbitrary (non-square) dimensions nearly free. For a single-result asset,
|
|
@@ -745,6 +754,23 @@ declare const PRO_TIER_PRICES: readonly [10, 15, 25];
|
|
|
745
754
|
* not move, only the prices.
|
|
746
755
|
*/
|
|
747
756
|
declare function proTierCost(width: number, height: number): number;
|
|
757
|
+
/**
|
|
758
|
+
* Cost of one `/animate-pixminimax` call. PixelLab's MCP table publishes
|
|
759
|
+
* 64x64 at 4/8/16/40 frames = 1/1/2/6 generations (80x80 at 8 = 1, 32x32 at
|
|
760
|
+
* 4 = 1), and a live 64x64 call billed 1 at 8 frames and 2 at 16.
|
|
761
|
+
*
|
|
762
|
+
* Priced in 64x64-frame equivalents, f = width * height * frames / 4096,
|
|
763
|
+
* through a piecewise-linear curve over those anchors, ceiled: 1 up to f=8,
|
|
764
|
+
* then 1 -> 2 over 8..16, 2 -> 6 over 16..40. Above f=40 it extrapolates at
|
|
765
|
+
* the last segment's slope (one generation per 6 equivalents) rather than
|
|
766
|
+
* capping, so 256x256 at 40 frames reads 106: PixelLab says the model works
|
|
767
|
+
* on an upscaled canvas and sizes just above 64 or 128 are cheaper than just
|
|
768
|
+
* below, so area scaling is an over-read there, the safe direction for
|
|
769
|
+
* `--budget`. It is monotonic in frames and canvas and lands exactly on every
|
|
770
|
+
* published anchor (80x80 at 8 reads 2 against a published 1, a deliberate
|
|
771
|
+
* over-read). `enhance_prompt` adds its documented 0.05.
|
|
772
|
+
*/
|
|
773
|
+
declare function pixMiniMaxCost(width: number, height: number, frames: number, enhancePrompt?: boolean): number;
|
|
748
774
|
/**
|
|
749
775
|
* Cost of one `tiles` call. Same canvas tiers as `1dir`, but the canvas is the
|
|
750
776
|
* sheet the API lays the variations out on, not one tile, so tile size alone
|
|
@@ -16301,10 +16327,10 @@ declare class PixelLabClient {
|
|
|
16301
16327
|
* limited to 400x400 and no style reference. Like a revision, this hands
|
|
16302
16328
|
* back a plain background job with no resource of its own; unlike a
|
|
16303
16329
|
* revision, one call returns several candidate images to pick from (the
|
|
16304
|
-
* same 4/16/64-by-size tiering as `1dir`), not a single result
|
|
16305
|
-
*
|
|
16306
|
-
* pixellab.ts fails loudly rather than guess if `last_response.images`
|
|
16307
|
-
*
|
|
16330
|
+
* same 4/16/64-by-size tiering as `1dir`), not a single result. It has run
|
|
16331
|
+
* live (a 64x64 call billed 10, October 2026); `pollImagePro` in
|
|
16332
|
+
* pixellab.ts still fails loudly rather than guess if `last_response.images`
|
|
16333
|
+
* is not the field name.
|
|
16308
16334
|
*
|
|
16309
16335
|
* Reference images and a style image (`reference_images`, `style_image` +
|
|
16310
16336
|
* `style_options`) exist on this endpoint but are not modeled here yet.
|
|
@@ -16394,7 +16420,8 @@ declare class PixelLabClient {
|
|
|
16394
16420
|
* guided by an optional concept image and a natural-language color
|
|
16395
16421
|
* palette. A plain background job; unlike `/create-ui-asset` there is no
|
|
16396
16422
|
* piece/element layout, and sizes start at 16px instead of 192. Its
|
|
16397
|
-
* completed shape
|
|
16423
|
+
* completed shape came back as a list of candidates on a live
|
|
16424
|
+
* 32x32 call (64 of them, billed 10); `pollUiElement` still reads it
|
|
16398
16425
|
* defensively.
|
|
16399
16426
|
*/
|
|
16400
16427
|
generateUiV2(args: {
|
|
@@ -16610,11 +16637,10 @@ declare class PixelLabClient {
|
|
|
16610
16637
|
* no PixelLab character/object resource required — unlike `animateCharacter`
|
|
16611
16638
|
* / `animateObject`, `firstFrame` is whatever bytes the caller has on hand.
|
|
16612
16639
|
* A plain background job, like every other PixelLab async submission;
|
|
16613
|
-
*
|
|
16614
|
-
*
|
|
16615
|
-
*
|
|
16616
|
-
*
|
|
16617
|
-
* defensively, the same as `pollRevision` already does for image edits).
|
|
16640
|
+
* like `inpaintV3`/`editImagesV2`, it has run live (November 2026, a
|
|
16641
|
+
* 64x64 call of 4 frames billed 1 and returned 5 frames); `pollAnimateRevision`
|
|
16642
|
+
* in pixellab.ts still checks several plausible field names for the frame
|
|
16643
|
+
* list defensively, the same as `pollRevision` does for image edits.
|
|
16618
16644
|
*/
|
|
16619
16645
|
animateWithTextV3(args: {
|
|
16620
16646
|
firstFrame: Base64Image;
|
|
@@ -16694,8 +16720,8 @@ declare class PixelLabClient {
|
|
|
16694
16720
|
* `runEstimateSkeleton` in `src/cli/commands`) so the only PixelLab
|
|
16695
16721
|
* endpoint composed into `animate-with-skeleton-v3`'s submission is that
|
|
16696
16722
|
* one endpoint itself, not two unverified calls chained together.
|
|
16697
|
-
* Synchronous
|
|
16698
|
-
*
|
|
16723
|
+
* Synchronous, and it has run live (October 2026; see
|
|
16724
|
+
* `EstimateSkeletonResponseSchema`).
|
|
16699
16725
|
*/
|
|
16700
16726
|
estimateSkeleton(args: {
|
|
16701
16727
|
image: Base64Image;
|
|
@@ -16983,15 +17009,15 @@ declare class PixelLabProvider implements Provider {
|
|
|
16983
17009
|
* `pollRevision` above, but completing with an ORDERED FRAME LIST instead
|
|
16984
17010
|
* of a single image — the same `review-set` shape `pollCharacterAnimation`
|
|
16985
17011
|
* returns, minus any character/object resource to look the result up on
|
|
16986
|
-
* (there is none; this operates on a loose image).
|
|
16987
|
-
*
|
|
16988
|
-
*
|
|
16989
|
-
*
|
|
16990
|
-
*
|
|
16991
|
-
*
|
|
16992
|
-
*
|
|
16993
|
-
*
|
|
16994
|
-
*
|
|
17012
|
+
* (there is none; this operates on a loose image). Both
|
|
17013
|
+
* `/animate-with-text-v3` and `/animate-pixminimax` have run live
|
|
17014
|
+
* (November 2026) and the completed jobs were read correctly. The checks
|
|
17015
|
+
* below stay defensive (hosted URLs under a plausible key name, the same
|
|
17016
|
+
* `storage_urls.frames` shape character animations use, or inline base64
|
|
17017
|
+
* per frame, decoded to a local cache file the same way `pollRevision`'s
|
|
17018
|
+
* single-image case is) and fail loudly, naming the keys actually
|
|
17019
|
+
* received, if a shape ever differs. PixMiniMax includes the input frame,
|
|
17020
|
+
* so a set holds the requested count plus one.
|
|
16995
17021
|
*/
|
|
16996
17022
|
private pollAnimateRevision;
|
|
16997
17023
|
/**
|
|
@@ -26449,4 +26475,4 @@ interface WorkspaceStatusReport {
|
|
|
26449
26475
|
*/
|
|
26450
26476
|
declare function workspaceStatus(ws: Workspace, dir: string): Promise<WorkspaceStatusReport>;
|
|
26451
26477
|
|
|
26452
|
-
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 AssetVfx, AssetVfxSchema, 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, type LockTerrainSettings, LockTerrainSettingsSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type MakeVfxOptions, type MakeVfxResult, type MakeVfxWithArtistOptions, type MakeVfxWithArtistResult, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, type MapScene, type MapScenePlacement, MapScenePlacementSchema, MapSceneSchema, type McpImage, type McpToolResult, MediaType, type MountPlacement, type MountedSheet, NORMAL_MAP_CONVENTIONS, NORMAL_MAP_COST_GENERATIONS, NORMAL_MAP_MAX_FRAMES, NORMAL_MAP_MAX_SIDE, NORMAL_MAP_MIN_SIDE, type NormalMapConvention, NormalMapConventionSchema, type NormalMapOptions, type NormalMapResult, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXELATE_COST_GENERATIONS, PIXELATE_MAX_SIDE, PIXELLAB_MCP_URL, 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, PixelLabMcpClient, 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 ResolvedTerrainLink, type ResolvedVfx, 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, TARGET_PALETTE_GENERATORS, type TargetPaletteArg, type TerrainConnect, TerrainConnectSchema, type TerrainLink, TerrainLinkSchema, type TerrainSide, TerrainSideSchema, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetMetadata, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, VFX_ARTISTS, VFX_ARTIST_MAX_SPRITE, VFX_TOOL, type VfxArtist, type VfxArtistFile, type VfxArtistProvenance, type VfxArtistResult, type VfxExport, type VfxPart, VfxPartSchema, type VfxProvenance, type VfxWorkbenchOptions, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, assetInStyle, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultNormalMapOut, defaultOpenCommand, defaultPixelateOut, defaultUnzoomOut, describeVfx, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, frameSetLoop, galleryContentSecurityPolicy, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isBusyReply, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isVfxReference, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, makeVfx, makeVfxWithArtist, matchOrphanStyle, mcpClientFromEnv, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalMapFile, normalMapResultPng, normalMapSizeProblem, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseMcpBody, parseProFlashQuote, parseTerrainDescriptions, parseVfxArtistResult, parseVfxExport, parseVfxRecipe, parseVfxStep, parseWorkspace, pickHistory, pixelateFile, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proTierCost, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, readSavedVfxRecipe, readVfxConversation, readVfxRecipe, recipeDigest, recordedAnimationGroup, 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, resolveVfxSprite, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, runVfxWorkbench, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, sliceVfxSheet, slugify, snapshotQualityBaseline, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, targetPaletteBody, terrainCost, terrainSettings, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, vfxArtistCeiling, vfxArtistFiles, vfxArtistFrameFacts, vfxArtistQuote, vfxArtistSprite, vfxAtlasFrames, vfxJobFailure, vfxOutputPaths, vfxRecipeSha256, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
|
|
26478
|
+
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 AssetVfx, AssetVfxSchema, 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, type LockTerrainSettings, LockTerrainSettingsSchema, MAX_DOWNLOAD_BYTES, MAX_HAND_EDIT_BYTES, MAX_RETRIES, MEMBER_SET_REVISION_MODES, MIRRORED_DIRECTION, type MakeVfxOptions, type MakeVfxResult, type MakeVfxWithArtistOptions, type MakeVfxWithArtistResult, type ManagedArtifactBundleOptions, type Manifest, ManifestDriftError, type ManifestEdit, ManifestEditError, type ManifestEditResult, ManifestEditSchema, ManifestInputSchema, ManifestSchema, type MapObject, type MapScene, type MapScenePlacement, MapScenePlacementSchema, MapSceneSchema, type McpImage, type McpToolResult, MediaType, type MountPlacement, type MountedSheet, NORMAL_MAP_CONVENTIONS, NORMAL_MAP_COST_GENERATIONS, NORMAL_MAP_MAX_FRAMES, NORMAL_MAP_MAX_SIDE, NORMAL_MAP_MIN_SIDE, type NormalMapConvention, NormalMapConventionSchema, type NormalMapOptions, type NormalMapResult, type NormalizedTileRules, type ObjectAnimationGroup, type OpenProjectOptions, type Orphan, type OrphanGroups, type OutputSelection, type OutputSource, OverwriteRefusedError, PIXELATE_COST_GENERATIONS, PIXELATE_MAX_SIDE, PIXELLAB_MCP_URL, 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, PixelLabMcpClient, 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 ResolvedTerrainLink, type ResolvedVfx, 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, TARGET_PALETTE_GENERATORS, type TargetPaletteArg, type TerrainConnect, TerrainConnectSchema, type TerrainLink, TerrainLinkSchema, type TerrainSide, TerrainSideSchema, type TilesPro, type Tileset, type TilesetExport, type TilesetExportOptions, type TilesetFormat, type TilesetMetadata, type TilesetTile, UNZOOM_MAX_AREA, UNZOOM_MIN_SIDE, type UiElement, UiElementSchema, type UiPiece, UiPieceSchema, UnsupportedCapabilityError, type UnzoomFileResult, UsageError, VFX_ARTISTS, VFX_ARTIST_MAX_SPRITE, VFX_TOOL, type VfxArtist, type VfxArtistFile, type VfxArtistProvenance, type VfxArtistResult, type VfxExport, type VfxPart, VfxPartSchema, type VfxProvenance, type VfxWorkbenchOptions, type Workspace, type WorkspaceClaims, type WorkspaceDiagnostic, type WorkspaceProject, WorkspaceProjectSchema, type WorkspaceProjectStatus, WorkspaceSchema, type WorkspaceStatusReport, adopt, applyManifestEdit, applyTags, approveQualityRecord, assetInStyle, auditStyle, availableProviders, backoffMs, buildGallerySnapshot, buildManifest, buildPlan, buildWorkspaceGallerySnapshot, bundledRecipeRoot, cacheFileName, candidateCount, characterDirections, checkQualityBaseline, checkQualityRecord, clientFromEnv, colorDistance, countNumberedDescriptions, createArtifactBundleManifest, createGalleryEditHandler, createGalleryEditorHandlers, createGenerateHandlers, createProvider, currentEntryOutputPath, currentOutputPath, defaultNormalMapOut, defaultOpenCommand, defaultPixelateOut, defaultUnzoomOut, describeVfx, detachHandEdit, detectMediaType, doctor, editorBaseUrl, editorDir, editorRoute, editorStatus, editorToolsRoot, errorCode, evaluateAudit, exitCodeFor, expectedOutputPath, exportTileset, fallbackOutputRole, fetchAssets, fetchWithRetry, findOrphans, fontOutputPaths, formatCost, frameSetFps, frameSetLoop, galleryContentSecurityPolicy, galleryMediaId, galleryMediaRoute, generateFont, generationCost, groupOrphansByStyle, handEditBase, handEditBases, handEditCompanionPath, handEditMembers, handEditPath, handEditProjectPath, hex, historyAfterReplacing, historyLimit, idFromPrompt, imageMetadata, inspectCaches, inspectQualityProfile, inspectRevisionReadiness, installEditor, installRecipe, isBusyReply, isFrameSetEntry, isMemberSetEntry, isSensitiveSourceUrl, isVfxReference, isometricTileCost, listBundledRecipes, loadClaims, loadLock, loadManifest, loadSiblingManifests, loadWorkspace, lockKey, makeVfx, makeVfxWithArtist, matchOrphanStyle, mcpClientFromEnv, measureBalanceChange, measureDecodedImageQuality, measureImageQuality, mediaExtension, mediaTypeFromExtension, memberPath, mergePalettes, mountSprites, mountStyle, normalMapFile, normalMapResultPng, normalMapSizeProblem, normalizeLockOutputPaths, normalizeRefinementPalette, normalizeTerrainTiles, normalizeTileRules, openExternal, openInEditor, openProject, outliers, outputId, packSprites, packStyle, paletteDistance, parentAssetId, parseLock, parseMcpBody, parseProFlashQuote, parseTerrainDescriptions, parseVfxArtistResult, parseVfxExport, parseVfxRecipe, parseVfxStep, parseWorkspace, pickHistory, pixMiniMaxCost, pixelateFile, pngSize, poll, portableOutputPath, prepareReview, primaryOutput, proTierCost, proportionsPayload, providerCredentialEnvs, providerFactory, pushTags, qualityFrameOutputPath, qualityRecordPath, quantizeToPalette, readArtifactBundleManifest, readHandEditCompanion, readQualityBaseline, readSavedVfxRecipe, readVfxConversation, readVfxRecipe, recipeDigest, recordedAnimationGroup, 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, resolveVfxSprite, resumeActions, resumeCommandForStatus, retireGeneration, retryAfterMs, revertGeneration, runPicker, runSalvage, runVfxWorkbench, saveHandEdit, saveLock, saveWorkspace, scanAssets, selectEntryOutput, serveGallery, sha256, sha256File, shouldPersistSourceUrl, shouldRetry, sliceVfxSheet, slugify, snapshotQualityBaseline, sourceIsStem, sourceOutputPath, specHash, spendByUnit, startHandEdit, styleImagesBase64, submit, summarize, tagAdopted, targetPaletteBody, terrainCost, terrainSettings, terrainTileCount, tileFeatureOutputCount, tileVariationCount, tilesCost, toPortablePath, totalSpend, uiElementCandidateCount, unzoomFile, upsert, validateCostEstimate, validateMedia, validateWorkspace, verifyArtifactBundle, verifyRecipe, vfxArtistCeiling, vfxArtistFiles, vfxArtistFrameFacts, vfxArtistQuote, vfxArtistSprite, vfxAtlasFrames, vfxJobFailure, vfxOutputPaths, vfxRecipeSha256, withArtifactManifest, workspaceClaims, workspaceStatus, writeArtifactBundle, writeManagedArtifactBundle };
|
package/dist/index.js
CHANGED
|
@@ -46,6 +46,17 @@ function candidateCount(size) {
|
|
|
46
46
|
if (size <= 170) return 4;
|
|
47
47
|
return 1;
|
|
48
48
|
}
|
|
49
|
+
function uiElementCandidateCount(size) {
|
|
50
|
+
if (size <= 32) return 64;
|
|
51
|
+
if (size <= 35) return 49;
|
|
52
|
+
if (size <= 41) return 36;
|
|
53
|
+
if (size <= 50) return 25;
|
|
54
|
+
if (size <= 64) return 16;
|
|
55
|
+
if (size <= 84) return 9;
|
|
56
|
+
if (size === 85) return 16;
|
|
57
|
+
if (size <= 170) return 4;
|
|
58
|
+
return 1;
|
|
59
|
+
}
|
|
49
60
|
function generationCost(width, height, generator = "map") {
|
|
50
61
|
if (generator === "vfx") return 0;
|
|
51
62
|
if (generator === "map" || generator === "pixflux") return 1;
|
|
@@ -62,6 +73,16 @@ function proTierCost(width, height) {
|
|
|
62
73
|
if (px <= 102400) return PRO_TIER_PRICES[1];
|
|
63
74
|
return PRO_TIER_PRICES[2];
|
|
64
75
|
}
|
|
76
|
+
function pixMiniMaxCost(width, height, frames, enhancePrompt = false) {
|
|
77
|
+
const f = width * height * Math.max(1, frames) / 4096;
|
|
78
|
+
let units;
|
|
79
|
+
if (f <= 8) units = 1;
|
|
80
|
+
else if (f <= 16) units = 1 + (f - 8) / 8;
|
|
81
|
+
else if (f <= 40) units = 2 + (f - 16) / 6;
|
|
82
|
+
else units = 6 + (f - 40) / 6;
|
|
83
|
+
const base = Math.max(1, Math.ceil(units - 1e-9));
|
|
84
|
+
return enhancePrompt ? base + 0.05 : base;
|
|
85
|
+
}
|
|
65
86
|
function tilesCost(tileSize, variations) {
|
|
66
87
|
const px = tileSize * tileSize * Math.max(1, variations);
|
|
67
88
|
if (px <= 1024) return PRO_TIER_PRICES[0];
|
|
@@ -2881,10 +2902,10 @@ var PixelLabClient = class {
|
|
|
2881
2902
|
* limited to 400x400 and no style reference. Like a revision, this hands
|
|
2882
2903
|
* back a plain background job with no resource of its own; unlike a
|
|
2883
2904
|
* revision, one call returns several candidate images to pick from (the
|
|
2884
|
-
* same 4/16/64-by-size tiering as `1dir`), not a single result
|
|
2885
|
-
*
|
|
2886
|
-
* pixellab.ts fails loudly rather than guess if `last_response.images`
|
|
2887
|
-
*
|
|
2905
|
+
* same 4/16/64-by-size tiering as `1dir`), not a single result. It has run
|
|
2906
|
+
* live (a 64x64 call billed 10, October 2026); `pollImagePro` in
|
|
2907
|
+
* pixellab.ts still fails loudly rather than guess if `last_response.images`
|
|
2908
|
+
* is not the field name.
|
|
2888
2909
|
*
|
|
2889
2910
|
* Reference images and a style image (`reference_images`, `style_image` +
|
|
2890
2911
|
* `style_options`) exist on this endpoint but are not modeled here yet.
|
|
@@ -2995,7 +3016,8 @@ var PixelLabClient = class {
|
|
|
2995
3016
|
* guided by an optional concept image and a natural-language color
|
|
2996
3017
|
* palette. A plain background job; unlike `/create-ui-asset` there is no
|
|
2997
3018
|
* piece/element layout, and sizes start at 16px instead of 192. Its
|
|
2998
|
-
* completed shape
|
|
3019
|
+
* completed shape came back as a list of candidates on a live
|
|
3020
|
+
* 32x32 call (64 of them, billed 10); `pollUiElement` still reads it
|
|
2999
3021
|
* defensively.
|
|
3000
3022
|
*/
|
|
3001
3023
|
async generateUiV2(args) {
|
|
@@ -3241,11 +3263,10 @@ var PixelLabClient = class {
|
|
|
3241
3263
|
* no PixelLab character/object resource required — unlike `animateCharacter`
|
|
3242
3264
|
* / `animateObject`, `firstFrame` is whatever bytes the caller has on hand.
|
|
3243
3265
|
* A plain background job, like every other PixelLab async submission;
|
|
3244
|
-
*
|
|
3245
|
-
*
|
|
3246
|
-
*
|
|
3247
|
-
*
|
|
3248
|
-
* defensively, the same as `pollRevision` already does for image edits).
|
|
3266
|
+
* like `inpaintV3`/`editImagesV2`, it has run live (November 2026, a
|
|
3267
|
+
* 64x64 call of 4 frames billed 1 and returned 5 frames); `pollAnimateRevision`
|
|
3268
|
+
* in pixellab.ts still checks several plausible field names for the frame
|
|
3269
|
+
* list defensively, the same as `pollRevision` does for image edits.
|
|
3249
3270
|
*/
|
|
3250
3271
|
async animateWithTextV3(args) {
|
|
3251
3272
|
const body = { first_frame: args.firstFrame, action: args.action };
|
|
@@ -3329,8 +3350,8 @@ var PixelLabClient = class {
|
|
|
3329
3350
|
* `runEstimateSkeleton` in `src/cli/commands`) so the only PixelLab
|
|
3330
3351
|
* endpoint composed into `animate-with-skeleton-v3`'s submission is that
|
|
3331
3352
|
* one endpoint itself, not two unverified calls chained together.
|
|
3332
|
-
* Synchronous
|
|
3333
|
-
*
|
|
3353
|
+
* Synchronous, and it has run live (October 2026; see
|
|
3354
|
+
* `EstimateSkeletonResponseSchema`).
|
|
3334
3355
|
*/
|
|
3335
3356
|
async estimateSkeleton(args) {
|
|
3336
3357
|
const body = { image: { type: "base64", base64: args.image.base64, format: args.image.format } };
|
|
@@ -5242,12 +5263,15 @@ var PixelLabProvider = class _PixelLabProvider {
|
|
|
5242
5263
|
const width = spec.revision.sourceWidth ?? spec.width;
|
|
5243
5264
|
const height = spec.revision.sourceHeight ?? spec.height;
|
|
5244
5265
|
const side = spec.revision.mode === "edit-animation" ? Math.ceil(Math.sqrt(Math.max(1, spec.revision.sourceMembers?.length ?? 1))) : 1;
|
|
5245
|
-
return { unit: "generations", amount:
|
|
5266
|
+
return { unit: "generations", amount: proTierCost(width * side, height * side), candidates: 1 };
|
|
5246
5267
|
}
|
|
5247
5268
|
if (spec.revision?.mode === "animate" || spec.revision?.mode === "animate-pixminimax") {
|
|
5248
5269
|
const width = spec.revision.sourceWidth ?? spec.width;
|
|
5249
5270
|
const height = spec.revision.sourceHeight ?? spec.height;
|
|
5250
5271
|
const frames = spec.revision.frames ?? 8;
|
|
5272
|
+
if (spec.revision.mode === "animate-pixminimax") {
|
|
5273
|
+
return { unit: "generations", amount: pixMiniMaxCost(width, height, frames, spec.revision.enhancePrompt), candidates: 1 };
|
|
5274
|
+
}
|
|
5251
5275
|
const base = Math.max(1, Math.ceil(width * height * frames / 65536));
|
|
5252
5276
|
return { unit: "generations", amount: spec.revision.enhancePrompt ? base + 0.05 : base, candidates: 1 };
|
|
5253
5277
|
}
|
|
@@ -5278,7 +5302,7 @@ var PixelLabProvider = class _PixelLabProvider {
|
|
|
5278
5302
|
return {
|
|
5279
5303
|
unit: "generations",
|
|
5280
5304
|
amount: generationCost(spec.width, spec.height, spec.generator),
|
|
5281
|
-
candidates: spec.generator === "1dir" || spec.generator === "imagePro" ? candidateCount(spec.size) : 1
|
|
5305
|
+
candidates: spec.generator === "1dir" || spec.generator === "imagePro" ? candidateCount(spec.size) : spec.generator === "uiElement" ? uiElementCandidateCount(spec.size) : 1
|
|
5282
5306
|
};
|
|
5283
5307
|
}
|
|
5284
5308
|
validate(spec, styleImages) {
|
|
@@ -7128,15 +7152,15 @@ var PixelLabProvider = class _PixelLabProvider {
|
|
|
7128
7152
|
* `pollRevision` above, but completing with an ORDERED FRAME LIST instead
|
|
7129
7153
|
* of a single image — the same `review-set` shape `pollCharacterAnimation`
|
|
7130
7154
|
* returns, minus any character/object resource to look the result up on
|
|
7131
|
-
* (there is none; this operates on a loose image).
|
|
7132
|
-
*
|
|
7133
|
-
*
|
|
7134
|
-
*
|
|
7135
|
-
*
|
|
7136
|
-
*
|
|
7137
|
-
*
|
|
7138
|
-
*
|
|
7139
|
-
*
|
|
7155
|
+
* (there is none; this operates on a loose image). Both
|
|
7156
|
+
* `/animate-with-text-v3` and `/animate-pixminimax` have run live
|
|
7157
|
+
* (November 2026) and the completed jobs were read correctly. The checks
|
|
7158
|
+
* below stay defensive (hosted URLs under a plausible key name, the same
|
|
7159
|
+
* `storage_urls.frames` shape character animations use, or inline base64
|
|
7160
|
+
* per frame, decoded to a local cache file the same way `pollRevision`'s
|
|
7161
|
+
* single-image case is) and fail loudly, naming the keys actually
|
|
7162
|
+
* received, if a shape ever differs. PixMiniMax includes the input frame,
|
|
7163
|
+
* so a set holds the requested count plus one.
|
|
7140
7164
|
*/
|
|
7141
7165
|
async pollAnimateRevision(jobId, context) {
|
|
7142
7166
|
const job = await this.client.getBackgroundJob(jobId);
|
|
@@ -7277,7 +7301,7 @@ var PixelLabProvider = class _PixelLabProvider {
|
|
|
7277
7301
|
}
|
|
7278
7302
|
return {
|
|
7279
7303
|
status: "failed",
|
|
7280
|
-
error: `Invalid PixelLab response for imagePro job ${jobId}: completed with no recognized images array (got: ${Object.keys(done).join(", ") || "no keys"});
|
|
7304
|
+
error: `Invalid PixelLab response for imagePro job ${jobId}: completed with no recognized images array (got: ${Object.keys(done).join(", ") || "no keys"}); update pollImagePro in src/providers/pixellab.ts with the real shape`
|
|
7281
7305
|
};
|
|
7282
7306
|
}
|
|
7283
7307
|
/**
|
|
@@ -21234,6 +21258,7 @@ export {
|
|
|
21234
21258
|
parseVfxStep,
|
|
21235
21259
|
parseWorkspace,
|
|
21236
21260
|
pickHistory,
|
|
21261
|
+
pixMiniMaxCost,
|
|
21237
21262
|
pixelateFile,
|
|
21238
21263
|
pngSize,
|
|
21239
21264
|
poll,
|
|
@@ -21325,6 +21350,7 @@ export {
|
|
|
21325
21350
|
tilesCost,
|
|
21326
21351
|
toPortablePath,
|
|
21327
21352
|
totalSpend,
|
|
21353
|
+
uiElementCandidateCount,
|
|
21328
21354
|
unzoomFile,
|
|
21329
21355
|
upsert,
|
|
21330
21356
|
validateCostEstimate,
|