@nodaro/sdk 1.14.0 → 1.16.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
@@ -4098,7 +4098,10 @@ interface UserBalance {
4098
4098
  dailySpent: number;
4099
4099
  dailyLimit: number | null;
4100
4100
  monthlyAllocation: number;
4101
+ /** Stored billing tier. Display should prefer `effectiveTier`. */
4101
4102
  tier: string;
4103
+ /** Derived entitlement tier: "payg" when stored-free with purchased credits. */
4104
+ effectiveTier: string;
4102
4105
  features: Record<string, unknown>;
4103
4106
  periodEnd: string | null;
4104
4107
  /** Credits earned for app usage (free tier only — earned by running flows). */
@@ -4382,6 +4385,40 @@ interface GetPickerCatalogOptions {
4382
4385
  /** multi-dim: only this dimension field. */
4383
4386
  field?: string;
4384
4387
  }
4388
+ /** Input for `analyzeText` (POST /v1/text-to-picker). */
4389
+ interface TextToPickerParams {
4390
+ /** Free-text scene/shot description to analyze. */
4391
+ text: string;
4392
+ /** Picker node types to fill. Omit for ALL analyzable pickers (the server
4393
+ * fans the analysis out per family and merges). */
4394
+ targetPickers?: string[];
4395
+ /** Extra guidance appended to the analyzer system prompt. */
4396
+ instructions?: string;
4397
+ /** Originating client app slug (e.g. "cine") — attribution only. */
4398
+ origin?: string;
4399
+ llmModel?: string;
4400
+ reasoningEffort?: string;
4401
+ }
4402
+ interface TextToPickerResult {
4403
+ jobId: string;
4404
+ /** pickerType → dimension → chosen catalog id(s) — same shape as
4405
+ * describe-to-picker; hydrate pickers from it verbatim. */
4406
+ pickerJson: Record<string, Record<string, string | string[]>>;
4407
+ /** Catalog-coverage feedback (attributes the text described that no
4408
+ * catalog id represents well). Surface as "we couldn't infer X". */
4409
+ gaps?: {
4410
+ missingItems: Array<{
4411
+ picker: string;
4412
+ dimension: string;
4413
+ observed: string;
4414
+ }>;
4415
+ missingCategories: Array<{
4416
+ picker: string;
4417
+ suggestedDimension: string;
4418
+ observed: string;
4419
+ }>;
4420
+ };
4421
+ }
4385
4422
  declare class PickerCatalogsResource {
4386
4423
  private client;
4387
4424
  constructor(client: NodaroClient);
@@ -4389,12 +4426,78 @@ declare class PickerCatalogsResource {
4389
4426
  list(): Promise<{
4390
4427
  data: PickerCatalogSummary[];
4391
4428
  }>;
4429
+ /** Fill pickers from a free-text description (Cine "AI Fill"): returns the
4430
+ * same pickerJson shape as describe-to-picker, keyed by picker node type. */
4431
+ analyzeText(params: TextToPickerParams): Promise<TextToPickerResult>;
4392
4432
  /** Get one picker's catalog of valid values. */
4393
4433
  get(nodeType: string, opts?: GetPickerCatalogOptions): Promise<{
4394
4434
  data: PickerCatalog;
4395
4435
  }>;
4396
4436
  }
4397
4437
 
4438
+ /**
4439
+ * Model-catalog types. Mirrors the backend's `GET /v1/models` projection
4440
+ * (itself shared with the MCP `list_models` tool) so the SDK stays
4441
+ * dependency-free — same convention as `PickerCatalog` / `NodeDescriptor`.
4442
+ */
4443
+ interface ModelSummary {
4444
+ id: string;
4445
+ label: string;
4446
+ description: string;
4447
+ modes: string[];
4448
+ useCases: string[];
4449
+ pricing: Array<{
4450
+ identifier: string;
4451
+ credits: number;
4452
+ note?: string;
4453
+ }>;
4454
+ featured?: boolean;
4455
+ features?: string[];
4456
+ aspectRatios?: string[];
4457
+ resolutions?: string[];
4458
+ qualities?: string[];
4459
+ durations?: number[];
4460
+ /** Compact per-model prompting tips (present when a doctrine exists). */
4461
+ promptTips?: string[];
4462
+ /** TRUE only when a sourced per-family prompt doctrine exists for this
4463
+ * model — gate "vendor doctrine · real rewrite" badges on this and show
4464
+ * a generic label otherwise (never overclaim). */
4465
+ doctrineCovered: boolean;
4466
+ }
4467
+ interface ModelFamilyGroup {
4468
+ family: string;
4469
+ models: ModelSummary[];
4470
+ }
4471
+ interface ModelsListResult {
4472
+ sections: Array<{
4473
+ kind: "image" | "video" | "audio";
4474
+ families: ModelFamilyGroup[];
4475
+ }>;
4476
+ recommendations: Array<{
4477
+ id: string;
4478
+ title: string;
4479
+ modelIds: string[];
4480
+ reason?: string;
4481
+ } & Record<string, unknown>>;
4482
+ totalModels: number;
4483
+ }
4484
+ interface ListModelsOptions {
4485
+ kind?: "image" | "video" | "audio";
4486
+ /** Operation filter, e.g. "t2v", "i2v", "t2i". */
4487
+ mode?: string;
4488
+ /** Vendor / lab name, e.g. "Google", "Bytedance". */
4489
+ family?: string;
4490
+ featuredOnly?: boolean;
4491
+ }
4492
+ declare class ModelsResource {
4493
+ private client;
4494
+ constructor(client: NodaroClient);
4495
+ /** Browse the models available on this instance — capability sheets,
4496
+ * per-variant credit pricing, prompt tips, and the `doctrineCovered`
4497
+ * truth flag. Public endpoint; cached 5 minutes. */
4498
+ list(opts?: ListModelsOptions): Promise<ModelsListResult>;
4499
+ }
4500
+
4398
4501
  /**
4399
4502
  * The community-listing types are the single source of truth in
4400
4503
  * `@nodaro/shared` (re-used by the backend, frontend, and CLI). Re-export them
@@ -4708,6 +4811,7 @@ declare class NodaroClient {
4708
4811
  readonly library: LibraryResource;
4709
4812
  readonly presets: PresetsResource;
4710
4813
  readonly pickerCatalogs: PickerCatalogsResource;
4814
+ readonly models: ModelsResource;
4711
4815
  readonly community: CommunityResource;
4712
4816
  readonly templates: TemplatesResource;
4713
4817
  readonly tutorials: TutorialsResource;
@@ -4812,4 +4916,4 @@ interface ApiErrorBody {
4812
4916
  }
4813
4917
  declare function throwFromResponse(status: number, body: ApiErrorBody): never;
4814
4918
 
4815
- export { type AccessTokenResponse, type AnalyzeInput, type AnalyzeResult, type AppRun, type AppRunResult, type ApplyChatProposalResult, type ApproveCreatureMainImageResult, type ApproveMainImageResult, type ApproveObjectMainImageResult, type ApprovePortraitResult, AppsResource, AudioResource, type Auth, type BranchPipelineInput, type BranchPipelineResult, type BrowseTemplatesParams, type BrowseTemplatesResult, CREATURE_ASSET_TYPES, CallbackAuth, type CancelExecutionParams, type CancelJobResult, type Character, type CharacterDetail, type CharacterUsage, CharactersResource, type ChatStageResult, type ChatTurn, type ClientOptions, type CloneTemplateParams, type CloneTemplateResult, CommunityResource, type ContinueVideoProResult, type CreateCreatureInput, type CreateDeveloperAppInput, type CreateDeveloperAppResult, type CreateLocationInput, type CreateObjectInput, type CreateProjectInput, type CreateWorkflowInput, type Creature, type CreatureAssetType, type CreatureDetail, type CreatureReferencePhoto, type CreatureReferencePhotoKind, CreaturesResource, CreditsResource, type DeleteAppRunResult, type DeveloperApp, type DeveloperAppScope, type DeveloperAppStatus, DeveloperAppsResource, type DownloadVideoProgress, type DubbingInput, type DuplicateCharacterInput, type EnhanceInput, type ExchangeCodeInput, type ExecutionStatus, type ExecutionTriggerType, ExecutionsResource, type FactoryPresetsResult, ForbiddenError, type GenerateAssetInput, type GenerateCharacterInput, type GenerateCharacterResult, type GenerateCreatureAssetInput, type GenerateCreatureAssetResult, type GenerateCreatureInput, type GenerateCreatureMotionInput, type GenerateCreatureMotionResult, type GenerateCreatureResult, type GenerateImageParams, type GenerateInput, type GenerateLocationAssetInput, type GenerateLocationInput, type GenerateLocationResult, type GenerateMotionInput, type GenerateObjectAssetInput, type GenerateObjectAssetResult, type GenerateObjectInput, type GenerateObjectMotionInput, type GenerateObjectMotionResult, type GenerateObjectResult, type GenerateSurroundContinuationInput, type GenerateVideoParams, type GetPickerCatalogOptions, InsufficientCreditsError, type Job, JobAbortedError, JobFailedError, type JobStatus, type JobStatusResult, JobTimeoutError, JobsResource, type LibraryAsset, LibraryResource, type ListAppRunsParams, type ListAppsParams, type ListAppsResult, type ListCharactersParams, type ListCharactersResult, type ListCreaturesParams, type ListExecutionsForWorkflowParams, type ListExecutionsPage, type ListLibraryParams, type ListLibraryResult, type ListLocationsParams, type ListObjectsParams, type ListWorkflowsParams, type Location, type LocationDetail, type LocationReferencePhoto, type LocationReferencePhotoKind, LocationsResource, MediaResource, type ModelCostsResult, NodaroClient, NodaroError, type NodeCategory, type NodeDescriptor, type NodeExecutionState, type NodeInputField, type NodeInputSchema, type NodeJobOutput, type NodePreset, type NodePresetGroup, NodesResource, NotFoundError, type OAuthAppInfo, OAuthResource, type Object$1 as Object, type ObjectCategory, type ObjectDetail, type ObjectReferencePhoto, type ObjectReferencePhotoKind, ObjectsResource, type OutputType, type PickerCatalog, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, PipelinesResource, PresetsResource, type Project, ProjectsResource, PromptHelperResource, type PromptResult, type PublishedApp, type PublishedAppDetail, RateLimitedError, type RecaptionCreatureResult, type RecaptionLocationResult, type RecaptionObjectResult, type RecaptionResult, type ReduceInput, ReduceResource, type ReduceResult, type ReferencePhoto, type ReferencePhotoKind, type RotateSecretResult, type RunAndWaitOptions, type RunManyResult, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, StaticTokenAuth, type StopVideoProResult, StorageExceededError, type StructuredReferenceParams, type Template, type TemplateBrowseCard, type TemplateSort, TemplatesResource, type TutorialCategory, type TutorialFlowItem, type TutorialVideoItem, TutorialsResource, UnauthorizedError, type UpdateCreatureInput, type UpdateCreatureResult, type UpdateDeveloperAppInput, type UpdateLocationInput, type UpdateLocationResult, type UpdateObjectInput, type UpdateObjectResult, type UpdateProjectInput, type UpdateWorkflowInput, type UploadResult, UploadsResource, type UpsertCharacterInput, type UpsertCharacterResult, type UpsertCreatureInput, type UpsertCreatureResult, type UpsertObjectInput, type UpsertObjectResult, type UserBalance, type UserIdentity, type VcpAnalysis, type VcpAnalysisSpeaker, type VcpAnalyzeInput, type VcpExportInput, type VcpExportTrack, type VideoMetadata, VideoProResource, type VoiceChangerProInput, type VoiceChangerProVoice, type VoiceDesignInput, type VoiceRemixInput, VoicesResource, type Workflow, WorkflowConflictError, type WorkflowExecution, type WorkflowExecutionSummary, WorkflowsResource, buildPersonSeedPrompt, createClient, supabaseAuth, throwFromResponse };
4919
+ export { type AccessTokenResponse, type AnalyzeInput, type AnalyzeResult, type AppRun, type AppRunResult, type ApplyChatProposalResult, type ApproveCreatureMainImageResult, type ApproveMainImageResult, type ApproveObjectMainImageResult, type ApprovePortraitResult, AppsResource, AudioResource, type Auth, type BranchPipelineInput, type BranchPipelineResult, type BrowseTemplatesParams, type BrowseTemplatesResult, CREATURE_ASSET_TYPES, CallbackAuth, type CancelExecutionParams, type CancelJobResult, type Character, type CharacterDetail, type CharacterUsage, CharactersResource, type ChatStageResult, type ChatTurn, type ClientOptions, type CloneTemplateParams, type CloneTemplateResult, CommunityResource, type ContinueVideoProResult, type CreateCreatureInput, type CreateDeveloperAppInput, type CreateDeveloperAppResult, type CreateLocationInput, type CreateObjectInput, type CreateProjectInput, type CreateWorkflowInput, type Creature, type CreatureAssetType, type CreatureDetail, type CreatureReferencePhoto, type CreatureReferencePhotoKind, CreaturesResource, CreditsResource, type DeleteAppRunResult, type DeveloperApp, type DeveloperAppScope, type DeveloperAppStatus, DeveloperAppsResource, type DownloadVideoProgress, type DubbingInput, type DuplicateCharacterInput, type EnhanceInput, type ExchangeCodeInput, type ExecutionStatus, type ExecutionTriggerType, ExecutionsResource, type FactoryPresetsResult, ForbiddenError, type GenerateAssetInput, type GenerateCharacterInput, type GenerateCharacterResult, type GenerateCreatureAssetInput, type GenerateCreatureAssetResult, type GenerateCreatureInput, type GenerateCreatureMotionInput, type GenerateCreatureMotionResult, type GenerateCreatureResult, type GenerateImageParams, type GenerateInput, type GenerateLocationAssetInput, type GenerateLocationInput, type GenerateLocationResult, type GenerateMotionInput, type GenerateObjectAssetInput, type GenerateObjectAssetResult, type GenerateObjectInput, type GenerateObjectMotionInput, type GenerateObjectMotionResult, type GenerateObjectResult, type GenerateSurroundContinuationInput, type GenerateVideoParams, type GetPickerCatalogOptions, InsufficientCreditsError, type Job, JobAbortedError, JobFailedError, type JobStatus, type JobStatusResult, JobTimeoutError, JobsResource, type LibraryAsset, LibraryResource, type ListAppRunsParams, type ListAppsParams, type ListAppsResult, type ListCharactersParams, type ListCharactersResult, type ListCreaturesParams, type ListExecutionsForWorkflowParams, type ListExecutionsPage, type ListLibraryParams, type ListLibraryResult, type ListLocationsParams, type ListModelsOptions, type ListObjectsParams, type ListWorkflowsParams, type Location, type LocationDetail, type LocationReferencePhoto, type LocationReferencePhotoKind, LocationsResource, MediaResource, type ModelCostsResult, type ModelSummary, type ModelsListResult, ModelsResource, NodaroClient, NodaroError, type NodeCategory, type NodeDescriptor, type NodeExecutionState, type NodeInputField, type NodeInputSchema, type NodeJobOutput, type NodePreset, type NodePresetGroup, NodesResource, NotFoundError, type OAuthAppInfo, OAuthResource, type Object$1 as Object, type ObjectCategory, type ObjectDetail, type ObjectReferencePhoto, type ObjectReferencePhotoKind, ObjectsResource, type OutputType, type PickerCatalog, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, PipelinesResource, PresetsResource, type Project, ProjectsResource, PromptHelperResource, type PromptResult, type PublishedApp, type PublishedAppDetail, RateLimitedError, type RecaptionCreatureResult, type RecaptionLocationResult, type RecaptionObjectResult, type RecaptionResult, type ReduceInput, ReduceResource, type ReduceResult, type ReferencePhoto, type ReferencePhotoKind, type RotateSecretResult, type RunAndWaitOptions, type RunManyResult, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, StaticTokenAuth, type StopVideoProResult, StorageExceededError, type StructuredReferenceParams, type Template, type TemplateBrowseCard, type TemplateSort, TemplatesResource, type TutorialCategory, type TutorialFlowItem, type TutorialVideoItem, TutorialsResource, UnauthorizedError, type UpdateCreatureInput, type UpdateCreatureResult, type UpdateDeveloperAppInput, type UpdateLocationInput, type UpdateLocationResult, type UpdateObjectInput, type UpdateObjectResult, type UpdateProjectInput, type UpdateWorkflowInput, type UploadResult, UploadsResource, type UpsertCharacterInput, type UpsertCharacterResult, type UpsertCreatureInput, type UpsertCreatureResult, type UpsertObjectInput, type UpsertObjectResult, type UserBalance, type UserIdentity, type VcpAnalysis, type VcpAnalysisSpeaker, type VcpAnalyzeInput, type VcpExportInput, type VcpExportTrack, type VideoMetadata, VideoProResource, type VoiceChangerProInput, type VoiceChangerProVoice, type VoiceDesignInput, type VoiceRemixInput, VoicesResource, type Workflow, WorkflowConflictError, type WorkflowExecution, type WorkflowExecutionSummary, WorkflowsResource, buildPersonSeedPrompt, createClient, supabaseAuth, throwFromResponse };
package/dist/index.d.ts CHANGED
@@ -4098,7 +4098,10 @@ interface UserBalance {
4098
4098
  dailySpent: number;
4099
4099
  dailyLimit: number | null;
4100
4100
  monthlyAllocation: number;
4101
+ /** Stored billing tier. Display should prefer `effectiveTier`. */
4101
4102
  tier: string;
4103
+ /** Derived entitlement tier: "payg" when stored-free with purchased credits. */
4104
+ effectiveTier: string;
4102
4105
  features: Record<string, unknown>;
4103
4106
  periodEnd: string | null;
4104
4107
  /** Credits earned for app usage (free tier only — earned by running flows). */
@@ -4382,6 +4385,40 @@ interface GetPickerCatalogOptions {
4382
4385
  /** multi-dim: only this dimension field. */
4383
4386
  field?: string;
4384
4387
  }
4388
+ /** Input for `analyzeText` (POST /v1/text-to-picker). */
4389
+ interface TextToPickerParams {
4390
+ /** Free-text scene/shot description to analyze. */
4391
+ text: string;
4392
+ /** Picker node types to fill. Omit for ALL analyzable pickers (the server
4393
+ * fans the analysis out per family and merges). */
4394
+ targetPickers?: string[];
4395
+ /** Extra guidance appended to the analyzer system prompt. */
4396
+ instructions?: string;
4397
+ /** Originating client app slug (e.g. "cine") — attribution only. */
4398
+ origin?: string;
4399
+ llmModel?: string;
4400
+ reasoningEffort?: string;
4401
+ }
4402
+ interface TextToPickerResult {
4403
+ jobId: string;
4404
+ /** pickerType → dimension → chosen catalog id(s) — same shape as
4405
+ * describe-to-picker; hydrate pickers from it verbatim. */
4406
+ pickerJson: Record<string, Record<string, string | string[]>>;
4407
+ /** Catalog-coverage feedback (attributes the text described that no
4408
+ * catalog id represents well). Surface as "we couldn't infer X". */
4409
+ gaps?: {
4410
+ missingItems: Array<{
4411
+ picker: string;
4412
+ dimension: string;
4413
+ observed: string;
4414
+ }>;
4415
+ missingCategories: Array<{
4416
+ picker: string;
4417
+ suggestedDimension: string;
4418
+ observed: string;
4419
+ }>;
4420
+ };
4421
+ }
4385
4422
  declare class PickerCatalogsResource {
4386
4423
  private client;
4387
4424
  constructor(client: NodaroClient);
@@ -4389,12 +4426,78 @@ declare class PickerCatalogsResource {
4389
4426
  list(): Promise<{
4390
4427
  data: PickerCatalogSummary[];
4391
4428
  }>;
4429
+ /** Fill pickers from a free-text description (Cine "AI Fill"): returns the
4430
+ * same pickerJson shape as describe-to-picker, keyed by picker node type. */
4431
+ analyzeText(params: TextToPickerParams): Promise<TextToPickerResult>;
4392
4432
  /** Get one picker's catalog of valid values. */
4393
4433
  get(nodeType: string, opts?: GetPickerCatalogOptions): Promise<{
4394
4434
  data: PickerCatalog;
4395
4435
  }>;
4396
4436
  }
4397
4437
 
4438
+ /**
4439
+ * Model-catalog types. Mirrors the backend's `GET /v1/models` projection
4440
+ * (itself shared with the MCP `list_models` tool) so the SDK stays
4441
+ * dependency-free — same convention as `PickerCatalog` / `NodeDescriptor`.
4442
+ */
4443
+ interface ModelSummary {
4444
+ id: string;
4445
+ label: string;
4446
+ description: string;
4447
+ modes: string[];
4448
+ useCases: string[];
4449
+ pricing: Array<{
4450
+ identifier: string;
4451
+ credits: number;
4452
+ note?: string;
4453
+ }>;
4454
+ featured?: boolean;
4455
+ features?: string[];
4456
+ aspectRatios?: string[];
4457
+ resolutions?: string[];
4458
+ qualities?: string[];
4459
+ durations?: number[];
4460
+ /** Compact per-model prompting tips (present when a doctrine exists). */
4461
+ promptTips?: string[];
4462
+ /** TRUE only when a sourced per-family prompt doctrine exists for this
4463
+ * model — gate "vendor doctrine · real rewrite" badges on this and show
4464
+ * a generic label otherwise (never overclaim). */
4465
+ doctrineCovered: boolean;
4466
+ }
4467
+ interface ModelFamilyGroup {
4468
+ family: string;
4469
+ models: ModelSummary[];
4470
+ }
4471
+ interface ModelsListResult {
4472
+ sections: Array<{
4473
+ kind: "image" | "video" | "audio";
4474
+ families: ModelFamilyGroup[];
4475
+ }>;
4476
+ recommendations: Array<{
4477
+ id: string;
4478
+ title: string;
4479
+ modelIds: string[];
4480
+ reason?: string;
4481
+ } & Record<string, unknown>>;
4482
+ totalModels: number;
4483
+ }
4484
+ interface ListModelsOptions {
4485
+ kind?: "image" | "video" | "audio";
4486
+ /** Operation filter, e.g. "t2v", "i2v", "t2i". */
4487
+ mode?: string;
4488
+ /** Vendor / lab name, e.g. "Google", "Bytedance". */
4489
+ family?: string;
4490
+ featuredOnly?: boolean;
4491
+ }
4492
+ declare class ModelsResource {
4493
+ private client;
4494
+ constructor(client: NodaroClient);
4495
+ /** Browse the models available on this instance — capability sheets,
4496
+ * per-variant credit pricing, prompt tips, and the `doctrineCovered`
4497
+ * truth flag. Public endpoint; cached 5 minutes. */
4498
+ list(opts?: ListModelsOptions): Promise<ModelsListResult>;
4499
+ }
4500
+
4398
4501
  /**
4399
4502
  * The community-listing types are the single source of truth in
4400
4503
  * `@nodaro/shared` (re-used by the backend, frontend, and CLI). Re-export them
@@ -4708,6 +4811,7 @@ declare class NodaroClient {
4708
4811
  readonly library: LibraryResource;
4709
4812
  readonly presets: PresetsResource;
4710
4813
  readonly pickerCatalogs: PickerCatalogsResource;
4814
+ readonly models: ModelsResource;
4711
4815
  readonly community: CommunityResource;
4712
4816
  readonly templates: TemplatesResource;
4713
4817
  readonly tutorials: TutorialsResource;
@@ -4812,4 +4916,4 @@ interface ApiErrorBody {
4812
4916
  }
4813
4917
  declare function throwFromResponse(status: number, body: ApiErrorBody): never;
4814
4918
 
4815
- export { type AccessTokenResponse, type AnalyzeInput, type AnalyzeResult, type AppRun, type AppRunResult, type ApplyChatProposalResult, type ApproveCreatureMainImageResult, type ApproveMainImageResult, type ApproveObjectMainImageResult, type ApprovePortraitResult, AppsResource, AudioResource, type Auth, type BranchPipelineInput, type BranchPipelineResult, type BrowseTemplatesParams, type BrowseTemplatesResult, CREATURE_ASSET_TYPES, CallbackAuth, type CancelExecutionParams, type CancelJobResult, type Character, type CharacterDetail, type CharacterUsage, CharactersResource, type ChatStageResult, type ChatTurn, type ClientOptions, type CloneTemplateParams, type CloneTemplateResult, CommunityResource, type ContinueVideoProResult, type CreateCreatureInput, type CreateDeveloperAppInput, type CreateDeveloperAppResult, type CreateLocationInput, type CreateObjectInput, type CreateProjectInput, type CreateWorkflowInput, type Creature, type CreatureAssetType, type CreatureDetail, type CreatureReferencePhoto, type CreatureReferencePhotoKind, CreaturesResource, CreditsResource, type DeleteAppRunResult, type DeveloperApp, type DeveloperAppScope, type DeveloperAppStatus, DeveloperAppsResource, type DownloadVideoProgress, type DubbingInput, type DuplicateCharacterInput, type EnhanceInput, type ExchangeCodeInput, type ExecutionStatus, type ExecutionTriggerType, ExecutionsResource, type FactoryPresetsResult, ForbiddenError, type GenerateAssetInput, type GenerateCharacterInput, type GenerateCharacterResult, type GenerateCreatureAssetInput, type GenerateCreatureAssetResult, type GenerateCreatureInput, type GenerateCreatureMotionInput, type GenerateCreatureMotionResult, type GenerateCreatureResult, type GenerateImageParams, type GenerateInput, type GenerateLocationAssetInput, type GenerateLocationInput, type GenerateLocationResult, type GenerateMotionInput, type GenerateObjectAssetInput, type GenerateObjectAssetResult, type GenerateObjectInput, type GenerateObjectMotionInput, type GenerateObjectMotionResult, type GenerateObjectResult, type GenerateSurroundContinuationInput, type GenerateVideoParams, type GetPickerCatalogOptions, InsufficientCreditsError, type Job, JobAbortedError, JobFailedError, type JobStatus, type JobStatusResult, JobTimeoutError, JobsResource, type LibraryAsset, LibraryResource, type ListAppRunsParams, type ListAppsParams, type ListAppsResult, type ListCharactersParams, type ListCharactersResult, type ListCreaturesParams, type ListExecutionsForWorkflowParams, type ListExecutionsPage, type ListLibraryParams, type ListLibraryResult, type ListLocationsParams, type ListObjectsParams, type ListWorkflowsParams, type Location, type LocationDetail, type LocationReferencePhoto, type LocationReferencePhotoKind, LocationsResource, MediaResource, type ModelCostsResult, NodaroClient, NodaroError, type NodeCategory, type NodeDescriptor, type NodeExecutionState, type NodeInputField, type NodeInputSchema, type NodeJobOutput, type NodePreset, type NodePresetGroup, NodesResource, NotFoundError, type OAuthAppInfo, OAuthResource, type Object$1 as Object, type ObjectCategory, type ObjectDetail, type ObjectReferencePhoto, type ObjectReferencePhotoKind, ObjectsResource, type OutputType, type PickerCatalog, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, PipelinesResource, PresetsResource, type Project, ProjectsResource, PromptHelperResource, type PromptResult, type PublishedApp, type PublishedAppDetail, RateLimitedError, type RecaptionCreatureResult, type RecaptionLocationResult, type RecaptionObjectResult, type RecaptionResult, type ReduceInput, ReduceResource, type ReduceResult, type ReferencePhoto, type ReferencePhotoKind, type RotateSecretResult, type RunAndWaitOptions, type RunManyResult, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, StaticTokenAuth, type StopVideoProResult, StorageExceededError, type StructuredReferenceParams, type Template, type TemplateBrowseCard, type TemplateSort, TemplatesResource, type TutorialCategory, type TutorialFlowItem, type TutorialVideoItem, TutorialsResource, UnauthorizedError, type UpdateCreatureInput, type UpdateCreatureResult, type UpdateDeveloperAppInput, type UpdateLocationInput, type UpdateLocationResult, type UpdateObjectInput, type UpdateObjectResult, type UpdateProjectInput, type UpdateWorkflowInput, type UploadResult, UploadsResource, type UpsertCharacterInput, type UpsertCharacterResult, type UpsertCreatureInput, type UpsertCreatureResult, type UpsertObjectInput, type UpsertObjectResult, type UserBalance, type UserIdentity, type VcpAnalysis, type VcpAnalysisSpeaker, type VcpAnalyzeInput, type VcpExportInput, type VcpExportTrack, type VideoMetadata, VideoProResource, type VoiceChangerProInput, type VoiceChangerProVoice, type VoiceDesignInput, type VoiceRemixInput, VoicesResource, type Workflow, WorkflowConflictError, type WorkflowExecution, type WorkflowExecutionSummary, WorkflowsResource, buildPersonSeedPrompt, createClient, supabaseAuth, throwFromResponse };
4919
+ export { type AccessTokenResponse, type AnalyzeInput, type AnalyzeResult, type AppRun, type AppRunResult, type ApplyChatProposalResult, type ApproveCreatureMainImageResult, type ApproveMainImageResult, type ApproveObjectMainImageResult, type ApprovePortraitResult, AppsResource, AudioResource, type Auth, type BranchPipelineInput, type BranchPipelineResult, type BrowseTemplatesParams, type BrowseTemplatesResult, CREATURE_ASSET_TYPES, CallbackAuth, type CancelExecutionParams, type CancelJobResult, type Character, type CharacterDetail, type CharacterUsage, CharactersResource, type ChatStageResult, type ChatTurn, type ClientOptions, type CloneTemplateParams, type CloneTemplateResult, CommunityResource, type ContinueVideoProResult, type CreateCreatureInput, type CreateDeveloperAppInput, type CreateDeveloperAppResult, type CreateLocationInput, type CreateObjectInput, type CreateProjectInput, type CreateWorkflowInput, type Creature, type CreatureAssetType, type CreatureDetail, type CreatureReferencePhoto, type CreatureReferencePhotoKind, CreaturesResource, CreditsResource, type DeleteAppRunResult, type DeveloperApp, type DeveloperAppScope, type DeveloperAppStatus, DeveloperAppsResource, type DownloadVideoProgress, type DubbingInput, type DuplicateCharacterInput, type EnhanceInput, type ExchangeCodeInput, type ExecutionStatus, type ExecutionTriggerType, ExecutionsResource, type FactoryPresetsResult, ForbiddenError, type GenerateAssetInput, type GenerateCharacterInput, type GenerateCharacterResult, type GenerateCreatureAssetInput, type GenerateCreatureAssetResult, type GenerateCreatureInput, type GenerateCreatureMotionInput, type GenerateCreatureMotionResult, type GenerateCreatureResult, type GenerateImageParams, type GenerateInput, type GenerateLocationAssetInput, type GenerateLocationInput, type GenerateLocationResult, type GenerateMotionInput, type GenerateObjectAssetInput, type GenerateObjectAssetResult, type GenerateObjectInput, type GenerateObjectMotionInput, type GenerateObjectMotionResult, type GenerateObjectResult, type GenerateSurroundContinuationInput, type GenerateVideoParams, type GetPickerCatalogOptions, InsufficientCreditsError, type Job, JobAbortedError, JobFailedError, type JobStatus, type JobStatusResult, JobTimeoutError, JobsResource, type LibraryAsset, LibraryResource, type ListAppRunsParams, type ListAppsParams, type ListAppsResult, type ListCharactersParams, type ListCharactersResult, type ListCreaturesParams, type ListExecutionsForWorkflowParams, type ListExecutionsPage, type ListLibraryParams, type ListLibraryResult, type ListLocationsParams, type ListModelsOptions, type ListObjectsParams, type ListWorkflowsParams, type Location, type LocationDetail, type LocationReferencePhoto, type LocationReferencePhotoKind, LocationsResource, MediaResource, type ModelCostsResult, type ModelSummary, type ModelsListResult, ModelsResource, NodaroClient, NodaroError, type NodeCategory, type NodeDescriptor, type NodeExecutionState, type NodeInputField, type NodeInputSchema, type NodeJobOutput, type NodePreset, type NodePresetGroup, NodesResource, NotFoundError, type OAuthAppInfo, OAuthResource, type Object$1 as Object, type ObjectCategory, type ObjectDetail, type ObjectReferencePhoto, type ObjectReferencePhotoKind, ObjectsResource, type OutputType, type PickerCatalog, type PickerCatalogSummary, PickerCatalogsResource, type PickerDimension, type PickerOption, PipelinesResource, PresetsResource, type Project, ProjectsResource, PromptHelperResource, type PromptResult, type PublishedApp, type PublishedAppDetail, RateLimitedError, type RecaptionCreatureResult, type RecaptionLocationResult, type RecaptionObjectResult, type RecaptionResult, type ReduceInput, ReduceResource, type ReduceResult, type ReferencePhoto, type ReferencePhotoKind, type RotateSecretResult, type RunAndWaitOptions, type RunManyResult, type RunNodeResult, type RunWorkflowParams, type RunWorkflowResult, StaticTokenAuth, type StopVideoProResult, StorageExceededError, type StructuredReferenceParams, type Template, type TemplateBrowseCard, type TemplateSort, TemplatesResource, type TutorialCategory, type TutorialFlowItem, type TutorialVideoItem, TutorialsResource, UnauthorizedError, type UpdateCreatureInput, type UpdateCreatureResult, type UpdateDeveloperAppInput, type UpdateLocationInput, type UpdateLocationResult, type UpdateObjectInput, type UpdateObjectResult, type UpdateProjectInput, type UpdateWorkflowInput, type UploadResult, UploadsResource, type UpsertCharacterInput, type UpsertCharacterResult, type UpsertCreatureInput, type UpsertCreatureResult, type UpsertObjectInput, type UpsertObjectResult, type UserBalance, type UserIdentity, type VcpAnalysis, type VcpAnalysisSpeaker, type VcpAnalyzeInput, type VcpExportInput, type VcpExportTrack, type VideoMetadata, VideoProResource, type VoiceChangerProInput, type VoiceChangerProVoice, type VoiceDesignInput, type VoiceRemixInput, VoicesResource, type Workflow, WorkflowConflictError, type WorkflowExecution, type WorkflowExecutionSummary, WorkflowsResource, buildPersonSeedPrompt, createClient, supabaseAuth, throwFromResponse };
package/dist/index.js CHANGED
@@ -2002,6 +2002,11 @@ var PickerCatalogsResource = class {
2002
2002
  list() {
2003
2003
  return this.client.request("GET", "/v1/picker-catalogs");
2004
2004
  }
2005
+ /** Fill pickers from a free-text description (Cine "AI Fill"): returns the
2006
+ * same pickerJson shape as describe-to-picker, keyed by picker node type. */
2007
+ analyzeText(params) {
2008
+ return this.client.request("POST", "/v1/text-to-picker", { body: params });
2009
+ }
2005
2010
  /** Get one picker's catalog of valid values. */
2006
2011
  get(nodeType, opts = {}) {
2007
2012
  const qs = new URLSearchParams();
@@ -2016,6 +2021,26 @@ var PickerCatalogsResource = class {
2016
2021
  }
2017
2022
  };
2018
2023
 
2024
+ // src/resources/models.ts
2025
+ var ModelsResource = class {
2026
+ constructor(client) {
2027
+ this.client = client;
2028
+ }
2029
+ client;
2030
+ /** Browse the models available on this instance — capability sheets,
2031
+ * per-variant credit pricing, prompt tips, and the `doctrineCovered`
2032
+ * truth flag. Public endpoint; cached 5 minutes. */
2033
+ list(opts = {}) {
2034
+ const qs = new URLSearchParams();
2035
+ if (opts.kind) qs.set("kind", opts.kind);
2036
+ if (opts.mode) qs.set("mode", opts.mode);
2037
+ if (opts.family) qs.set("family", opts.family);
2038
+ if (opts.featuredOnly) qs.set("featuredOnly", "true");
2039
+ const query = qs.toString();
2040
+ return this.client.request("GET", `/v1/models${query ? `?${query}` : ""}`);
2041
+ }
2042
+ };
2043
+
2019
2044
  // src/resources/community.ts
2020
2045
  var CommunityResource = class {
2021
2046
  constructor(client) {
@@ -2169,7 +2194,7 @@ var TutorialsResource = class {
2169
2194
  };
2170
2195
 
2171
2196
  // src/client.ts
2172
- var SDK_VERSION = "1.14.0" ;
2197
+ var SDK_VERSION = "1.16.0" ;
2173
2198
  var CLIENT_HEADER = "X-Nodaro-Client";
2174
2199
  var isBrowser = () => typeof window !== "undefined" && typeof window.document !== "undefined";
2175
2200
  var NodaroClient = class {
@@ -2214,6 +2239,7 @@ var NodaroClient = class {
2214
2239
  library;
2215
2240
  presets;
2216
2241
  pickerCatalogs;
2242
+ models;
2217
2243
  community;
2218
2244
  templates;
2219
2245
  tutorials;
@@ -2248,6 +2274,7 @@ var NodaroClient = class {
2248
2274
  this.library = new LibraryResource(this);
2249
2275
  this.presets = new PresetsResource(this);
2250
2276
  this.pickerCatalogs = new PickerCatalogsResource(this);
2277
+ this.models = new ModelsResource(this);
2251
2278
  this.community = new CommunityResource(this);
2252
2279
  this.templates = new TemplatesResource(this);
2253
2280
  this.tutorials = new TutorialsResource(this);
@@ -2343,6 +2370,6 @@ function supabaseAuth(supabase) {
2343
2370
  };
2344
2371
  }
2345
2372
 
2346
- export { AppsResource, AudioResource, CREATURE_ASSET_TYPES, CallbackAuth, CharactersResource, CommunityResource, CreaturesResource, CreditsResource, DeveloperAppsResource, ExecutionsResource, ForbiddenError, InsufficientCreditsError, JobAbortedError, JobFailedError, JobTimeoutError, JobsResource, LibraryResource, LocationsResource, MediaResource, NodaroClient, NodaroError, NodesResource, NotFoundError, OAuthResource, ObjectsResource, PickerCatalogsResource, PipelinesResource, PresetsResource, ProjectsResource, PromptHelperResource, RateLimitedError, ReduceResource, StaticTokenAuth, StorageExceededError, TemplatesResource, TutorialsResource, UnauthorizedError, UploadsResource, VideoProResource, VoicesResource, WorkflowConflictError, WorkflowsResource, buildPersonSeedPrompt, createClient, supabaseAuth, throwFromResponse };
2373
+ export { AppsResource, AudioResource, CREATURE_ASSET_TYPES, CallbackAuth, CharactersResource, CommunityResource, CreaturesResource, CreditsResource, DeveloperAppsResource, ExecutionsResource, ForbiddenError, InsufficientCreditsError, JobAbortedError, JobFailedError, JobTimeoutError, JobsResource, LibraryResource, LocationsResource, MediaResource, ModelsResource, NodaroClient, NodaroError, NodesResource, NotFoundError, OAuthResource, ObjectsResource, PickerCatalogsResource, PipelinesResource, PresetsResource, ProjectsResource, PromptHelperResource, RateLimitedError, ReduceResource, StaticTokenAuth, StorageExceededError, TemplatesResource, TutorialsResource, UnauthorizedError, UploadsResource, VideoProResource, VoicesResource, WorkflowConflictError, WorkflowsResource, buildPersonSeedPrompt, createClient, supabaseAuth, throwFromResponse };
2347
2374
  //# sourceMappingURL=index.js.map
2348
2375
  //# sourceMappingURL=index.js.map