export declare const $ConfigurationOptions: { readonly required: readonly ['selector', 'spec']; readonly type: 'object'; readonly properties: { readonly priority: { readonly type: 'integer'; readonly description: 'Get or set the priority of this configuration if multiple configurations apply to the same worker'; readonly format: 'int64'; }; readonly selector: { readonly $ref: '#/components/schemas/Expression'; }; readonly spec: { readonly description: 'Get or set the specification associated with this configuration'; readonly nullable: true; }; }; readonly additionalProperties: false; }; export declare const $ConfigurationStatus: { readonly required: readonly ['configurationId']; readonly type: 'object'; readonly properties: { readonly configurationId: { readonly minLength: 1; readonly type: 'string'; }; readonly assigned: { readonly type: 'integer'; readonly format: 'int32'; }; readonly targeted: { readonly type: 'integer'; readonly format: 'int32'; }; readonly applied: { readonly type: 'integer'; readonly format: 'int32'; }; }; readonly additionalProperties: false; }; export declare const $CreateConfigurationResult: { readonly required: readonly ['configurationId']; readonly type: 'object'; readonly properties: { readonly configurationId: { readonly minLength: 1; readonly type: 'string'; }; }; readonly additionalProperties: false; }; export declare const $CreateWorkerResult: { readonly required: readonly ['workerId']; readonly type: 'object'; readonly properties: { readonly workerId: { readonly minLength: 1; readonly type: 'string'; }; }; readonly additionalProperties: false; }; export declare const $CursedArrayOfTelemetryCursorAndWorkflow: { readonly required: readonly ['items', 'next']; readonly type: 'object'; readonly properties: { readonly next: { readonly type: 'string'; }; readonly items: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/Workflow'; }; }; }; readonly additionalProperties: false; }; export declare const $DynamicAssignment: { readonly required: readonly ['fromPath', 'toPath']; readonly type: 'object'; readonly properties: { readonly fromPath: { readonly minLength: 1; readonly type: 'string'; }; readonly toPath: { readonly minLength: 1; readonly type: 'string'; }; readonly defaultValue: { readonly nullable: true; }; }; readonly additionalProperties: false; }; export declare const $EchoInput: { readonly required: readonly ['message']; readonly type: 'object'; readonly properties: { readonly message: { readonly minLength: 1; readonly type: 'string'; readonly description: 'The message to be returned in the output.'; }; }; readonly additionalProperties: false; readonly description: 'Represents the input information needed for the Echo workflow step.'; }; export declare const $EchoOutput: { readonly required: readonly ['message']; readonly type: 'object'; readonly properties: { readonly message: { readonly minLength: 1; readonly type: 'string'; readonly description: 'The message to be returned.'; }; }; readonly additionalProperties: false; readonly description: 'Represents the output information returned from the Echo workflow step.'; }; export declare const $EchoStep: { readonly title: 'A workflow step that takes a message string and retuns it.'; readonly required: readonly ['$type', 'input']; readonly type: 'object'; readonly allOf: readonly [ { readonly $ref: '#/components/schemas/WorkflowStep'; }, ]; readonly properties: { readonly name: { readonly type: 'string'; readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.'; readonly nullable: true; }; readonly priority: { readonly $ref: '#/components/schemas/Priority'; }; readonly timeout: { readonly type: 'string'; readonly description: 'The maximum time to wait for this step to complete.'; readonly nullable: true; readonly example: '00:00:00'; }; readonly retries: { readonly type: 'integer'; readonly description: 'The maximum number of times this step should be retried.'; readonly format: 'int32'; readonly nullable: true; }; readonly jobs: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/WorkflowStepJob'; }; readonly description: 'The jobs generated by this step.'; }; readonly status: { readonly $ref: '#/components/schemas/WorkflowStatus'; }; readonly startedAt: { readonly type: 'string'; readonly description: 'The date / time the step was started. Null if not yet started.'; readonly format: 'date-time'; readonly nullable: true; }; readonly completedAt: { readonly type: 'string'; readonly description: 'The date / time the step was completed. Null if not yet completed.'; readonly format: 'date-time'; readonly nullable: true; }; readonly input: { readonly $ref: '#/components/schemas/EchoInput'; }; readonly output: { readonly $ref: '#/components/schemas/EchoOutput'; }; readonly $type: { readonly enum: readonly ['echo']; readonly type: 'string'; }; }; readonly additionalProperties: false; readonly description: 'This step is intended for testing purposes.'; }; export declare const $EchoStepTemplate: { readonly required: readonly ['$type', 'input']; readonly type: 'object'; readonly allOf: readonly [ { readonly $ref: '#/components/schemas/WorkflowStepTemplate'; }, ]; readonly properties: { readonly $type: { readonly enum: readonly ['echo']; readonly type: 'string'; }; readonly input: { readonly $ref: '#/components/schemas/EchoInput'; }; }; readonly additionalProperties: false; }; export declare const $EcosystemElement: { readonly type: 'object'; readonly additionalProperties: { readonly $ref: '#/components/schemas/EcosystemElement'; }; }; export declare const $EpochResult: { readonly required: readonly ['blobName', 'blobSize']; readonly type: 'object'; readonly properties: { readonly blobName: { readonly minLength: 1; readonly type: 'string'; readonly description: 'Get the name of the generated epoch assets'; }; readonly blobSize: { readonly type: 'integer'; readonly description: 'Get the total size in bytes of the asset'; readonly format: 'int64'; }; readonly sampleImages: { readonly type: 'array'; readonly items: { readonly type: 'string'; }; readonly description: 'Get a list of the names of the blobs that represent sample images'; }; }; readonly additionalProperties: false; readonly description: 'An epock result.'; }; export declare const $Expression: { readonly type: 'object'; readonly additionalProperties: false; }; export declare const $Image: { readonly required: readonly ['available', 'id', 'jobId']; readonly type: 'object'; readonly properties: { readonly id: { readonly minLength: 1; readonly type: 'string'; readonly description: 'Gets the id of the blob that contains this image.'; }; readonly available: { readonly type: 'boolean'; readonly description: 'Gets a value indicating whether the image is available.'; }; readonly url: { readonly type: 'string'; readonly description: 'Gets a url that can be used to preview the image.'; readonly format: 'uri'; readonly nullable: true; }; readonly urlExpiresAt: { readonly type: 'string'; readonly description: 'Get when the url is set to expire'; readonly format: 'date-time'; readonly nullable: true; }; readonly jobId: { readonly minLength: 1; readonly type: 'string'; readonly description: 'Get the id of the job that is associated with this image.'; }; }; readonly additionalProperties: false; readonly description: 'Represents an image that is the result of a TextToImage workflow step.'; }; export declare const $ImageJobControlNet: { readonly type: 'object'; readonly properties: { readonly preprocessor: { readonly $ref: '#/components/schemas/ImageTransformer'; }; readonly weight: { readonly type: 'number'; readonly description: 'A value representing the weight applied to the ControlNet.'; readonly format: 'double'; }; readonly startStep: { readonly type: 'number'; readonly description: 'A value representing the start step selected for the ControlNet.'; readonly format: 'double'; }; readonly endStep: { readonly type: 'number'; readonly description: 'A value representing the end step selected for the ControlNet.'; readonly format: 'double'; }; }; readonly additionalProperties: false; readonly description: 'Information for a controlnet provided for a text to image input.'; }; export declare const $ImageJobNetworkParams: { readonly type: 'object'; readonly properties: { readonly strength: { readonly type: 'number'; readonly description: 'In case of Lora and LoCon, set the strength of the network'; readonly format: 'double'; readonly nullable: true; }; readonly triggerWord: { readonly type: 'string'; readonly description: 'In case of a TextualInversion, set the trigger word of the network'; readonly nullable: true; }; readonly type: { readonly type: 'string'; readonly description: 'A legacy type set by the consumer'; readonly nullable: true; }; }; readonly additionalProperties: false; }; export declare const $ImageJobParams: { readonly required: readonly ['height', 'width']; readonly type: 'object'; readonly properties: { readonly prompt: { readonly type: 'string'; readonly description: 'The prompt for the text to image generation.'; readonly nullable: true; }; readonly negativePrompt: { readonly type: 'string'; readonly description: 'The negative prompt for the text to image generation.'; readonly nullable: true; }; readonly scheduler: { readonly $ref: '#/components/schemas/Scheduler'; }; readonly steps: { readonly maximum: 150; readonly minimum: 1; readonly type: 'integer'; readonly description: 'The number of steps for the text to image generation.'; readonly format: 'int32'; readonly default: 30; }; readonly cfgScale: { readonly maximum: 30; readonly minimum: 1; readonly type: 'number'; readonly description: 'The CFG scale value for the text to image generation.'; readonly format: 'double'; readonly default: 7.5; readonly nullable: true; }; readonly width: { readonly maximum: 2048; readonly minimum: 64; readonly type: 'integer'; readonly description: 'The width for the image to be generated in pixels.'; readonly format: 'int32'; readonly default: 512; }; readonly height: { readonly maximum: 2048; readonly minimum: 64; readonly type: 'integer'; readonly description: 'The height for the image to be generated in pixels.'; readonly format: 'int32'; readonly default: 512; }; readonly seed: { readonly maximum: 4294967295; readonly minimum: -1; readonly type: 'integer'; readonly description: 'The seed for the text to image generation.'; readonly format: 'int64'; readonly default: -1; }; readonly clipSkip: { readonly type: 'integer'; readonly description: 'The clip skip value for the text to image generation.'; readonly format: 'int32'; readonly default: 2; }; }; readonly additionalProperties: false; readonly description: 'Parameters for a text to image step.'; }; export declare const $ImageResourceTrainingInput: { readonly required: readonly ['model', 'trainingData']; readonly type: 'object'; readonly properties: { readonly model: { readonly pattern: '^(?:urn:)?(?:air:)?(?:(?[a-zA-Z0-9_-/]+):)?(?:(?[a-zA-Z0-9_-/]+):)?(?[a-zA-Z0-9_-/]+):(?[a-zA-Z0-9_-/.]+)(?:@(?[a-zA-Z0-9_-.]+))?(?:.(?[a-zA-Z0-9_-]+))?$'; readonly type: 'string'; readonly description: 'The primary model to train upon.'; }; readonly trainingData: { readonly type: 'string'; readonly description: 'A url referring data to use in training.'; readonly format: 'uri'; }; readonly unetLR: { readonly type: 'number'; readonly description: 'The desired learning rate for the U-Net.'; readonly format: 'double'; readonly default: 0.00005; }; readonly textEncoderLR: { readonly type: 'number'; readonly description: 'The desired learning rate for the text encoder.'; readonly format: 'double'; readonly default: 0.00005; }; readonly optimizerType: { readonly type: 'string'; readonly description: 'The desired optimizer type.'; readonly default: 'Adafactor'; }; readonly networkDim: { readonly type: 'integer'; readonly description: 'The desired network dimensionality.'; readonly format: 'int32'; readonly default: 16; }; readonly networkAlpha: { readonly type: 'integer'; readonly description: 'The desired network alpha.'; readonly format: 'int32'; readonly default: 16; }; readonly lrScheduler: { readonly type: 'string'; readonly description: 'The desired learning rate scheduler.'; readonly default: 'cosine_with_restarts'; }; readonly maxTrainEpochs: { readonly type: 'integer'; readonly description: 'The desired maximum number of training epochs.'; readonly format: 'int32'; readonly default: 3; }; readonly numRepeats: { readonly type: 'integer'; readonly description: 'The desired number of repeats.'; readonly format: 'int32'; readonly default: 8; }; readonly resolution: { readonly type: 'integer'; readonly description: 'The desired resolution.'; readonly format: 'int32'; readonly default: 512; }; readonly loraType: { readonly type: 'string'; readonly description: 'The lora type.'; readonly default: 'lora'; }; readonly enableBucket: { readonly type: 'boolean'; readonly description: 'EnableBucket?'; readonly default: true; }; readonly keepTokens: { readonly type: 'integer'; readonly description: 'KeepTokens?'; readonly format: 'int32'; readonly default: 0; }; readonly lrSchedulerNumCycles: { readonly type: 'integer'; readonly description: 'The desired number of cycles for the learning rate scheduler.'; readonly format: 'int32'; readonly default: 3; }; readonly trainBatchSize: { readonly type: 'integer'; readonly description: 'The desired training batch size.'; readonly format: 'int32'; readonly default: 1; }; readonly minSnrGamma: { readonly type: 'integer'; readonly description: 'MinSnrGamm?'; readonly format: 'int32'; readonly default: 5; }; readonly optimizerArgs: { readonly type: 'string'; readonly description: 'Provided arguments for the optimizer.'; readonly default: ''; }; readonly shuffleCaption: { readonly type: 'boolean'; readonly description: 'ShuffleCaption?'; readonly default: false; }; readonly loraName: { readonly type: 'string'; readonly description: 'The desired lora name.'; readonly default: 'my-lora'; }; readonly noiseOffset: { readonly type: 'number'; readonly description: 'The desired noise offset.'; readonly format: 'double'; readonly default: 0.5; }; readonly samplePrompts: { readonly type: 'array'; readonly items: { readonly type: 'string'; }; readonly description: 'A selection of sample prompts.'; }; }; readonly additionalProperties: false; readonly description: 'Input for an image resource training step.'; }; export declare const $ImageResourceTrainingJob: { readonly required: readonly ['$type', 'model', 'params', 'trainingData']; readonly type: 'object'; readonly allOf: readonly [ { readonly $ref: '#/components/schemas/Job'; }, ]; readonly properties: { readonly model: { readonly pattern: '^(?:urn:)?(?:air:)?(?:(?[a-zA-Z0-9_-/]+):)?(?:(?[a-zA-Z0-9_-/]+):)?(?[a-zA-Z0-9_-/]+):(?[a-zA-Z0-9_-/.]+)(?:@(?[a-zA-Z0-9_-.]+))?(?:.(?[a-zA-Z0-9_-]+))?$'; readonly type: 'string'; readonly description: 'An AIR representing the model to use.'; }; readonly trainingData: { readonly type: 'string'; readonly description: 'A url referring data that needs to be trained upon'; readonly format: 'uri'; }; readonly params: { readonly type: 'object'; readonly additionalProperties: {}; readonly description: 'A untyped set of parameters that are associated with this job'; }; readonly cost: { readonly type: 'number'; readonly description: 'Get cost associated with this job'; readonly format: 'double'; }; readonly customCost: { readonly type: 'number'; readonly description: 'Get or set a custom cost value for this job'; readonly format: 'double'; }; readonly output: { readonly type: 'string'; readonly description: 'An application provided output of the current status of this job'; readonly nullable: true; }; readonly type: { readonly type: 'string'; readonly description: 'The job type.'; }; readonly claimDuration: { readonly type: 'string'; readonly description: "Rick: yeah i think for LoRA we need it to be 5-10 minutes.\nlora training has this lame effect where it can't send updates while it is uploading... so we need to give it extra buffer"; readonly example: '00:00:00'; }; readonly $type: { readonly enum: readonly ['ImageResourceTrainingJob']; readonly type: 'string'; }; }; readonly additionalProperties: false; }; export declare const $ImageResourceTrainingOutput: { readonly required: readonly ['epochs']; readonly type: 'object'; readonly properties: { readonly epochs: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/EpochResult'; }; readonly description: 'An array of epochs.'; }; readonly storedAsAssets: { readonly type: 'boolean'; readonly description: 'Get wether the blobs are actually stored as assets\nAssets are deprecated and require a different retrieval mechanism'; readonly nullable: true; }; }; readonly additionalProperties: false; }; export declare const $ImageResourceTrainingStep: { readonly required: readonly ['$type', 'input']; readonly type: 'object'; readonly allOf: readonly [ { readonly $ref: '#/components/schemas/WorkflowStep'; }, ]; readonly properties: { readonly name: { readonly type: 'string'; readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.'; readonly nullable: true; }; readonly priority: { readonly $ref: '#/components/schemas/Priority'; }; readonly timeout: { readonly type: 'string'; readonly description: 'The maximum time to wait for this step to complete.'; readonly nullable: true; readonly example: '00:00:00'; }; readonly retries: { readonly type: 'integer'; readonly description: 'The maximum number of times this step should be retried.'; readonly format: 'int32'; readonly nullable: true; }; readonly jobs: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/WorkflowStepJob'; }; readonly description: 'The jobs generated by this step.'; }; readonly status: { readonly $ref: '#/components/schemas/WorkflowStatus'; }; readonly startedAt: { readonly type: 'string'; readonly description: 'The date / time the step was started. Null if not yet started.'; readonly format: 'date-time'; readonly nullable: true; }; readonly completedAt: { readonly type: 'string'; readonly description: 'The date / time the step was completed. Null if not yet completed.'; readonly format: 'date-time'; readonly nullable: true; }; readonly input: { readonly $ref: '#/components/schemas/ImageResourceTrainingInput'; }; readonly output: { readonly $ref: '#/components/schemas/ImageResourceTrainingOutput'; }; readonly $type: { readonly enum: readonly ['imageResourceTraining']; readonly type: 'string'; }; }; readonly additionalProperties: false; readonly description: 'A workflow step for training image resources.'; }; export declare const $ImageResourceTrainingStepTemplate: { readonly required: readonly ['$type', 'input']; readonly type: 'object'; readonly allOf: readonly [ { readonly $ref: '#/components/schemas/WorkflowStepTemplate'; }, ]; readonly properties: { readonly $type: { readonly enum: readonly ['imageResourceTraining']; readonly type: 'string'; }; readonly input: { readonly $ref: '#/components/schemas/ImageResourceTrainingInput'; }; }; readonly additionalProperties: false; }; export declare const $ImageTransformer: { readonly enum: readonly ['canny', 'depthZoe', 'softedgePidinet', 'rembg']; readonly type: 'string'; readonly description: 'Available image transformers.'; }; export declare const $Job: { readonly required: readonly ['$type']; readonly type: 'object'; readonly properties: { readonly $type: { readonly type: 'string'; }; readonly id: { readonly type: 'string'; readonly description: 'A unique id for this job'; }; readonly createdAt: { readonly type: 'string'; readonly description: 'The date when this job got created'; readonly format: 'date-time'; }; readonly expireAt: { readonly type: 'string'; readonly description: 'The date for when this job was set to expire'; readonly format: 'date-time'; readonly nullable: true; }; readonly webhook: { readonly type: 'string'; readonly description: 'A webhook to be invoked when the job receives a status update'; readonly format: 'uri'; readonly nullable: true; }; readonly properties: { readonly type: 'object'; readonly additionalProperties: {}; readonly description: 'A set of user defined properties that can be used to index and partition this job'; }; readonly type: { readonly type: 'string'; readonly description: 'The type of this job as a string'; }; readonly cost: { readonly type: 'number'; readonly description: 'Get a cost estimate for this job'; readonly format: 'double'; }; readonly maxRetryAttempt: { readonly type: 'integer'; readonly description: 'The max number of retries before we give up'; readonly format: 'int32'; }; readonly dependencies: { readonly type: 'object'; readonly additionalProperties: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/DynamicAssignment'; }; readonly nullable: true; }; readonly description: 'Get or set a list of dependencies that this job has'; }; readonly issuedBy: { readonly type: 'string'; readonly description: 'Get or set the name of the consumer that issued this job'; readonly nullable: true; }; readonly version: { readonly type: 'integer'; readonly description: 'Get or set the version of this job, this is used to track changes to the job schema'; readonly format: 'int32'; readonly default: 0; }; readonly claimDuration: { readonly type: 'string'; readonly description: 'The total duration that the job can be claimed'; readonly example: '00:00:00'; }; readonly recovered: { readonly type: 'boolean'; readonly description: 'An internal property to mark that the job has been recovered. We use this to not fiddle with up/down counters as we may have missed other counters'; }; }; readonly additionalProperties: false; readonly discriminator: { readonly propertyName: '$type'; readonly mapping: { readonly ImageResourceTrainingJob: '#/components/schemas/ImageResourceTrainingJob'; readonly LLMPromptAugmentationJob: '#/components/schemas/LLMPromptAugmentationJob'; readonly SimilaritySearchJob: '#/components/schemas/SimilaritySearchJob'; readonly TextToImageJob: '#/components/schemas/TextToImageJob'; readonly TextToImageV2Job: '#/components/schemas/TextToImageV2Job'; }; }; }; export declare const $JobSupport: { readonly enum: readonly ['unsupported', 'unavailable', 'available']; readonly type: 'string'; readonly description: 'Available levels of job support.'; }; export declare const $LLMPromptAugmentationCapabilities: { readonly type: 'object'; readonly additionalProperties: false; readonly description: 'LLM prompt augmentaition capabilities.'; }; export declare const $LLMPromptAugmentationJob: { readonly required: readonly ['$type', 'model']; readonly type: 'object'; readonly allOf: readonly [ { readonly $ref: '#/components/schemas/Job'; }, ]; readonly properties: { readonly model: { readonly minLength: 1; readonly type: 'string'; readonly description: 'The primary model to use.'; }; readonly basePrompt: { readonly type: 'string'; readonly description: 'The base prompt.'; readonly nullable: true; }; readonly prompts: { readonly type: 'array'; readonly items: { readonly type: 'string'; }; readonly description: 'A list of prompts.'; }; readonly temp: { readonly type: 'number'; readonly description: 'The temp.'; readonly format: 'double'; }; readonly type: { readonly type: 'string'; readonly description: 'The type.'; }; readonly $type: { readonly enum: readonly ['LLMPromptAugmentationJob']; readonly type: 'string'; }; }; readonly additionalProperties: false; }; export declare const $ModelInfo: { readonly required: readonly ['air', 'downloadUrls', 'hashes', 'size']; readonly type: 'object'; readonly properties: { readonly air: { readonly pattern: '^(?:urn:)?(?:air:)?(?:(?[a-zA-Z0-9_-/]+):)?(?:(?[a-zA-Z0-9_-/]+):)?(?[a-zA-Z0-9_-/]+):(?[a-zA-Z0-9_-/.]+)(?:@(?[a-zA-Z0-9_-.]+))?(?:.(?[a-zA-Z0-9_-]+))?$'; readonly type: 'string'; readonly description: 'An AIR ID for the model.'; }; readonly size: { readonly type: 'integer'; readonly description: 'The model size in bytes.'; readonly format: 'int64'; }; readonly hashes: { readonly type: 'object'; readonly additionalProperties: { readonly type: 'string'; }; readonly description: 'A collection of hashes.'; }; readonly downloadUrls: { readonly type: 'array'; readonly items: { readonly type: 'string'; readonly format: 'uri'; }; readonly description: 'An array of download urls.'; }; readonly modelName: { readonly type: 'string'; readonly description: 'The name of the model.'; readonly nullable: true; }; readonly versionName: { readonly type: 'string'; readonly description: 'The name of the version.'; readonly nullable: true; }; readonly invalidateAt: { readonly type: 'string'; readonly description: 'A date time to invalidate at.'; readonly format: 'date-time'; readonly nullable: true; }; }; readonly additionalProperties: false; readonly description: 'Details for a specific model.'; }; export declare const $Priority: { readonly enum: readonly ['high', 'normal', 'low']; readonly type: 'string'; readonly description: 'Available options for priority.'; }; export declare const $ProblemDetails: { readonly type: 'object'; readonly properties: { readonly type: { readonly type: 'string'; readonly nullable: true; }; readonly title: { readonly type: 'string'; readonly nullable: true; }; readonly status: { readonly type: 'integer'; readonly format: 'int32'; readonly nullable: true; }; readonly detail: { readonly type: 'string'; readonly nullable: true; }; readonly instance: { readonly type: 'string'; readonly nullable: true; }; }; readonly additionalProperties: {}; }; export declare const $ProcessingStatistics: { readonly type: 'object'; readonly properties: { readonly totalJobsRequested: { readonly type: 'integer'; readonly description: 'The total number of jobs requested.'; readonly format: 'int64'; }; readonly totalCostRequested: { readonly type: 'number'; readonly description: 'The total cost of jobs requested.'; readonly format: 'double'; }; readonly totalJobsSucceeded: { readonly type: 'integer'; readonly description: 'The total number of successful jobs.'; readonly format: 'int64'; }; readonly totalCostSucceeded: { readonly type: 'number'; readonly description: 'The total cost of successful jobs.'; readonly format: 'double'; }; readonly totalJobsRejected: { readonly type: 'integer'; readonly description: 'The total number of rejected jobs.'; readonly format: 'int64'; }; readonly totalCostRejected: { readonly type: 'number'; readonly description: 'The total cost of rejected jobs.'; readonly format: 'double'; }; readonly totalJobsLateRejected: { readonly type: 'integer'; readonly description: 'The total number of late rejected jobs.'; readonly format: 'int64'; }; readonly totalCostLateRejected: { readonly type: 'number'; readonly description: 'The total cost of laterejected jobs.'; readonly format: 'double'; }; readonly totalJobsExpired: { readonly type: 'integer'; readonly description: 'The total number of expired jobs.'; readonly format: 'int64'; }; readonly totalCostExpired: { readonly type: 'number'; readonly description: 'The total cost of expired jobs.'; readonly format: 'double'; }; readonly totalJobsFailed: { readonly type: 'integer'; readonly description: 'The total number of failed jobs.'; readonly format: 'int64'; }; readonly totalCostFailed: { readonly type: 'number'; readonly description: 'The total cost of failed jobs.'; readonly format: 'double'; }; readonly totalJobsCompleted: { readonly type: 'integer'; readonly description: 'The total number of completed jobs.'; readonly format: 'int64'; }; readonly totalCostCompleted: { readonly type: 'number'; readonly description: 'The total cost of completed jobs.'; readonly format: 'double'; }; }; readonly additionalProperties: false; readonly description: 'Details of processing statistics.'; }; export declare const $Scheduler: { readonly enum: readonly [ 'eulerA', 'euler', 'lms', 'heun', 'dpM2', 'dpM2A', 'dpM2SA', 'dpM2M', 'dpmsde', 'dpmFast', 'dpmAdaptive', 'lmsKarras', 'dpM2Karras', 'dpM2AKarras', 'dpM2SAKarras', 'dpM2MKarras', 'dpmsdeKarras', 'ddim', 'plms', 'uniPC', 'undefined', 'lcm', 'ddpm', 'deis', ]; readonly type: 'string'; readonly description: 'The available options for schedulers used in image generation.'; }; export declare const $SimilaritySearchJob: { readonly required: readonly ['$type', 'model', 'nsfwFilter', 'params', 'prompt']; readonly type: 'object'; readonly allOf: readonly [ { readonly $ref: '#/components/schemas/Job'; }, ]; readonly properties: { readonly model: { readonly pattern: '^(?:urn:)?(?:air:)?(?:(?[a-zA-Z0-9_-/]+):)?(?:(?[a-zA-Z0-9_-/]+):)?(?[a-zA-Z0-9_-/]+):(?[a-zA-Z0-9_-/.]+)(?:@(?[a-zA-Z0-9_-.]+))?(?:.(?[a-zA-Z0-9_-]+))?$'; readonly type: 'string'; readonly description: 'An AIR ID representing the primary model.'; }; readonly nsfwFilter: { readonly minLength: 1; readonly type: 'string'; readonly description: 'A value for the NSFW filter.'; }; readonly prompt: { readonly minLength: 1; readonly type: 'string'; readonly description: 'The prompt provided.'; }; readonly params: { readonly type: 'object'; readonly additionalProperties: {}; readonly description: 'A collection of parameters.'; }; readonly cost: { readonly type: 'number'; readonly description: 'A value representing the cost of the job.'; readonly format: 'double'; }; readonly type: { readonly type: 'string'; readonly description: 'The job type.'; }; readonly $type: { readonly enum: readonly ['SimilaritySearchJob']; readonly type: 'string'; }; }; readonly additionalProperties: false; readonly description: 'Details for a similarity search job.'; }; export declare const $Subscription: { readonly required: readonly ['webhook']; readonly type: 'object'; readonly properties: { readonly webhook: { readonly minLength: 1; readonly type: 'string'; readonly description: 'The webhook url.'; }; }; readonly additionalProperties: false; readonly description: 'A subscription for pushed based notifications.'; }; export declare const $TextToImageInput: { readonly required: readonly ['height', 'model', 'width']; readonly type: 'object'; readonly properties: { readonly quantity: { readonly maximum: 100; readonly minimum: 1; readonly type: 'integer'; readonly description: 'Get or sets the number of images to generate in a batch.'; readonly format: 'int32'; readonly default: 1; }; readonly batchSize: { readonly maximum: 100; readonly minimum: 1; readonly type: 'integer'; readonly description: 'The size of each batch.'; readonly format: 'int32'; readonly default: 1; }; readonly model: { readonly pattern: '^(?:urn:)?(?:air:)?(?:(?[a-zA-Z0-9_-/]+):)?(?:(?[a-zA-Z0-9_-/]+):)?(?[a-zA-Z0-9_-/]+):(?[a-zA-Z0-9_-/.]+)(?:@(?[a-zA-Z0-9_-.]+))?(?:.(?[a-zA-Z0-9_-]+))?$'; readonly type: 'string'; readonly description: 'The AIR of the checkpoint model to use for generation.'; }; readonly additionalNetworks: { readonly type: 'object'; readonly additionalProperties: { readonly $ref: '#/components/schemas/ImageJobNetworkParams'; }; readonly description: 'Get or set a associative list of additional networks. Use the AIR of the network as the key.'; }; readonly controlNets: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/ImageJobControlNet'; }; readonly description: 'Get or set a associative list of ControlNets.'; }; readonly prompt: { readonly type: 'string'; readonly description: 'The provided text prompt.'; readonly default: ''; }; readonly negativePrompt: { readonly type: 'string'; readonly description: 'The provided negative text prompt.'; readonly default: ''; }; readonly scheduler: { readonly $ref: '#/components/schemas/Scheduler'; }; readonly steps: { readonly maximum: 150; readonly minimum: 1; readonly type: 'integer'; readonly description: 'The number of steps for image generation.'; readonly format: 'int32'; readonly default: 30; }; readonly cfgScale: { readonly maximum: 30; readonly minimum: 1; readonly type: 'number'; readonly description: 'The CFG scale value for image generation.'; readonly format: 'double'; readonly default: 7.5; }; readonly width: { readonly maximum: 2048; readonly minimum: 64; readonly type: 'integer'; readonly description: 'The desired image width in pixels.'; readonly format: 'int32'; readonly default: 512; }; readonly height: { readonly maximum: 2048; readonly minimum: 64; readonly type: 'integer'; readonly description: 'The desired image height in pixels.'; readonly format: 'int32'; readonly default: 512; }; readonly seed: { readonly maximum: 4294967295; readonly minimum: 0; readonly type: 'integer'; readonly description: 'The seed to use in image generation. Defaults to a random value if left unpopulated.'; readonly format: 'int64'; }; readonly clipSkip: { readonly type: 'integer'; readonly description: 'The clip skip value for image generation.'; readonly format: 'int32'; readonly default: 2; }; }; readonly additionalProperties: false; readonly description: 'Input for an text to image step.'; }; export declare const $TextToImageJob: { readonly required: readonly ['$type', 'imageHash', 'model', 'params']; readonly type: 'object'; readonly allOf: readonly [ { readonly $ref: '#/components/schemas/Job'; }, ]; readonly properties: { readonly model: { readonly pattern: '^(?:urn:)?(?:air:)?(?:(?[a-zA-Z0-9_-/]+):)?(?:(?[a-zA-Z0-9_-/]+):)?(?[a-zA-Z0-9_-/]+):(?[a-zA-Z0-9_-/.]+)(?:@(?[a-zA-Z0-9_-.]+))?(?:.(?[a-zA-Z0-9_-]+))?$'; readonly type: 'string'; readonly description: 'An AIR representing the model to use.'; }; readonly params: { readonly $ref: '#/components/schemas/ImageJobParams'; }; readonly imageHash: { readonly minLength: 1; readonly type: 'string'; readonly description: 'The hash for the output image.'; }; readonly additionalNetworks: { readonly type: 'object'; readonly additionalProperties: { readonly $ref: '#/components/schemas/ImageJobNetworkParams'; }; readonly description: 'Get or set a associative list of additional networks. Each network is identified by a hash code.'; }; readonly destinationUrl: { readonly type: 'string'; readonly description: 'Get or set the URL where the image will be uploaded to.'; readonly format: 'uri'; readonly nullable: true; }; readonly storeAsBlob: { readonly type: 'boolean'; readonly description: 'A value indicating whether to store the image as a blob or as a legacy image.'; }; readonly controlNets: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/ImageJobControlNet'; }; readonly description: 'Get or set a list of control nets that should be applied with this textToImage job.'; }; readonly cost: { readonly type: 'number'; readonly description: 'A value representing the cost of the job.'; readonly format: 'double'; }; readonly claimDuration: { readonly type: 'string'; readonly description: 'The duration for which this job can be claimed for.'; readonly example: '00:00:00'; }; readonly type: { readonly type: 'string'; readonly description: 'The job type.'; }; readonly $type: { readonly enum: readonly ['TextToImageJob']; readonly type: 'string'; }; }; readonly additionalProperties: false; readonly description: 'A text to image generation job.'; }; export declare const $TextToImageJobSlot: { readonly required: readonly ['destinationUrl', 'imageHash']; readonly type: 'object'; readonly properties: { readonly imageHash: { readonly minLength: 1; readonly type: 'string'; readonly description: 'The hash for the image output.'; }; readonly destinationUrl: { readonly type: 'string'; readonly description: 'The destination url for image upload.'; readonly format: 'uri'; }; }; readonly additionalProperties: false; readonly description: 'Contains slot information for an image generated by a TextToImageJob.'; }; export declare const $TextToImageOutput: { readonly required: readonly ['images']; readonly type: 'object'; readonly properties: { readonly images: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/Image'; }; readonly description: 'A collection of output images.'; }; }; readonly additionalProperties: false; readonly description: 'Represents the output of a TextToImage workflow step.'; }; export declare const $TextToImageStep: { readonly required: readonly ['$type', 'input']; readonly type: 'object'; readonly allOf: readonly [ { readonly $ref: '#/components/schemas/WorkflowStep'; }, ]; readonly properties: { readonly name: { readonly type: 'string'; readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.'; readonly nullable: true; }; readonly priority: { readonly $ref: '#/components/schemas/Priority'; }; readonly timeout: { readonly type: 'string'; readonly description: 'The maximum time to wait for this step to complete.'; readonly nullable: true; readonly example: '00:00:00'; }; readonly retries: { readonly type: 'integer'; readonly description: 'The maximum number of times this step should be retried.'; readonly format: 'int32'; readonly nullable: true; }; readonly jobs: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/WorkflowStepJob'; }; readonly description: 'The jobs generated by this step.'; }; readonly status: { readonly $ref: '#/components/schemas/WorkflowStatus'; }; readonly startedAt: { readonly type: 'string'; readonly description: 'The date / time the step was started. Null if not yet started.'; readonly format: 'date-time'; readonly nullable: true; }; readonly completedAt: { readonly type: 'string'; readonly description: 'The date / time the step was completed. Null if not yet completed.'; readonly format: 'date-time'; readonly nullable: true; }; readonly input: { readonly $ref: '#/components/schemas/TextToImageInput'; }; readonly output: { readonly $ref: '#/components/schemas/TextToImageOutput'; }; readonly $type: { readonly enum: readonly ['textToImage']; readonly type: 'string'; }; }; readonly additionalProperties: false; readonly description: 'A workflow step for text to image generations.'; }; export declare const $TextToImageStepTemplate: { readonly required: readonly ['$type', 'input']; readonly type: 'object'; readonly allOf: readonly [ { readonly $ref: '#/components/schemas/WorkflowStepTemplate'; }, ]; readonly properties: { readonly $type: { readonly enum: readonly ['textToImage']; readonly type: 'string'; }; readonly input: { readonly $ref: '#/components/schemas/TextToImageInput'; }; }; readonly additionalProperties: false; }; export declare const $TextToImageV2Job: { readonly required: readonly ['$type', 'model', 'params', 'slots']; readonly type: 'object'; readonly allOf: readonly [ { readonly $ref: '#/components/schemas/Job'; }, ]; readonly properties: { readonly model: { readonly pattern: '^(?:urn:)?(?:air:)?(?:(?[a-zA-Z0-9_-/]+):)?(?:(?[a-zA-Z0-9_-/]+):)?(?[a-zA-Z0-9_-/]+):(?[a-zA-Z0-9_-/.]+)(?:@(?[a-zA-Z0-9_-.]+))?(?:.(?[a-zA-Z0-9_-]+))?$'; readonly type: 'string'; readonly description: 'An AIR representing the model to use.'; }; readonly params: { readonly $ref: '#/components/schemas/ImageJobParams'; }; readonly slots: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/TextToImageJobSlot'; }; readonly description: 'Slots for the resulting image outputs.'; }; readonly additionalNetworks: { readonly type: 'object'; readonly additionalProperties: { readonly $ref: '#/components/schemas/ImageJobNetworkParams'; }; readonly description: 'Get or set a associative list of additional networks. Each network is identified by a hash code'; }; readonly controlNets: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/ImageJobControlNet'; }; readonly description: 'Get or set a list of control nets that should be applied with this textToImage job'; }; readonly cost: { readonly type: 'number'; readonly description: 'A value representing the cost of the job.'; readonly format: 'double'; }; readonly claimDuration: { readonly type: 'string'; readonly description: 'The duration for which this job can be claimed for.'; readonly example: '00:00:00'; }; readonly type: { readonly type: 'string'; readonly description: 'The job type.'; }; readonly $type: { readonly enum: readonly ['TextToImageV2Job']; readonly type: 'string'; }; }; readonly additionalProperties: false; }; export declare const $TransactionInfo: { readonly required: readonly ['amount', 'id']; readonly type: 'object'; readonly properties: { readonly amount: { readonly type: 'integer'; readonly description: 'The transaction amount.'; readonly format: 'int32'; }; readonly id: { readonly minLength: 1; readonly type: 'string'; readonly description: 'The transaction ID.'; readonly nullable: true; }; }; readonly additionalProperties: false; readonly description: 'Transaction information.'; }; export declare const $UpdateWorkflowRequest: { readonly type: 'object'; readonly properties: { readonly status: { readonly $ref: '#/components/schemas/UpdateWorkflowStatus'; }; readonly metadata: { readonly type: 'object'; readonly additionalProperties: {}; readonly description: 'An optional set of new properties to set on the workflow.'; readonly nullable: true; }; }; readonly additionalProperties: false; readonly description: 'An request for updating a workflow.'; }; export declare const $UpdateWorkflowStatus: { readonly enum: readonly ['canceled']; readonly type: 'string'; readonly description: 'Available statuses for updating workflows.'; readonly nullable: true; }; export declare const $WorkerCapabilities: { readonly type: 'object'; readonly properties: { readonly image: { readonly $ref: '#/components/schemas/WorkerImageCapabilities'; }; readonly media: { readonly $ref: '#/components/schemas/WorkerMediaCapabilities'; }; readonly modelManagement: { readonly $ref: '#/components/schemas/WorkerModelPreparationCapabilities'; }; readonly configurationManagement: { readonly $ref: '#/components/schemas/WorkerConfigurationCapabilities'; }; readonly similaritySearch: { readonly $ref: '#/components/schemas/WorkerSimilaritySearchCapabilities'; }; readonly llmPromptAugmentation: { readonly $ref: '#/components/schemas/LLMPromptAugmentationCapabilities'; }; }; readonly additionalProperties: false; readonly description: "Details of a worker's capabilities."; }; export declare const $WorkerConfigurationCapabilities: { readonly type: 'object'; readonly additionalProperties: false; readonly description: "Details of a worker's configuration capabilities."; }; export declare const $WorkerDetails: { readonly required: readonly ['id', 'name']; readonly type: 'object'; readonly properties: { readonly id: { readonly minLength: 1; readonly type: 'string'; readonly description: "The worker's ID."; }; readonly name: { readonly minLength: 1; readonly type: 'string'; readonly description: "The worker's name."; }; readonly activeJobs: { readonly type: 'integer'; readonly description: "The worker's active job count."; readonly format: 'int32'; }; readonly queueSize: { readonly type: 'integer'; readonly description: "The number of jobs in the worker's queue."; readonly format: 'int32'; }; readonly queueDepth: { readonly type: 'number'; readonly description: "The total cost of job's in the worker's queue."; readonly format: 'double'; }; readonly startDate: { readonly type: 'string'; readonly description: "The worker's start date / time."; readonly format: 'date-time'; }; readonly lastRequestDate: { readonly type: 'string'; readonly description: "The worker's last request date / time."; readonly format: 'date-time'; readonly nullable: true; }; readonly expirationDate: { readonly type: 'string'; readonly description: "The worker's expiration date / time."; readonly format: 'date-time'; readonly nullable: true; }; readonly statistics: { readonly $ref: '#/components/schemas/ProcessingStatistics'; }; readonly succeededThroughputRate: { readonly type: 'number'; readonly description: "The worker's succeeded job throughput rate."; readonly format: 'double'; }; readonly failedThroughputRate: { readonly type: 'number'; readonly description: "The worker's failed job throughput rate."; readonly format: 'double'; }; readonly idleRate: { readonly type: 'number'; readonly description: "The worker's idle rate."; readonly format: 'double'; }; readonly lastSuccesfullyCompletedJobDate: { readonly type: 'string'; readonly description: "The date / time of the worker's last successfully completed job."; readonly format: 'date-time'; readonly nullable: true; }; readonly lastJobUpdateDate: { readonly type: 'string'; readonly description: "The date / time of the worker's last job update."; readonly format: 'date-time'; readonly nullable: true; }; readonly subscriptionSetDate: { readonly type: 'string'; readonly description: "The date / time that the worker's subscription was set."; readonly format: 'date-time'; readonly nullable: true; }; readonly quarantineDate: { readonly type: 'string'; readonly description: 'The date / time that the worker was quarantined.'; readonly format: 'date-time'; readonly nullable: true; }; }; readonly additionalProperties: false; readonly description: 'Details for a particular worker.'; }; export declare const $WorkerImageCapabilities: { readonly type: 'object'; readonly properties: { readonly textToImage: { readonly $ref: '#/components/schemas/WorkerImageTextToImageCapabilities'; }; readonly imageToImage: { readonly $ref: '#/components/schemas/WorkerImageImageToImageCapabilities'; }; readonly transform: { readonly $ref: '#/components/schemas/WorkerImageTransformCapabilities'; }; readonly resourceTraining: { readonly $ref: '#/components/schemas/WorkerImageResourceTrainingCapabilities'; }; readonly embedding: { readonly $ref: '#/components/schemas/WorkerImageEmbeddingCapabilities'; }; }; readonly additionalProperties: false; readonly description: "Details of a worker's image capabilities."; }; export declare const $WorkerImageEmbeddingCapabilities: { readonly type: 'object'; readonly additionalProperties: false; readonly description: "Details of a worker's image embedding capabilities."; }; export declare const $WorkerImageImageToImageCapabilities: { readonly type: 'object'; readonly properties: { readonly size: { readonly type: 'integer'; readonly description: "The worker's maximum supported image size for image to image (squared)."; readonly format: 'int32'; }; readonly schedulers: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/Scheduler'; }; readonly description: 'A list of schedulers the worker supports for image to image.'; }; readonly controlNet: { readonly maximum: 10; readonly minimum: 0; readonly type: 'integer'; readonly description: 'The number of ControlNets the worker supports for image to image (at once).'; readonly format: 'int32'; }; readonly inpainting: { readonly type: 'boolean'; readonly description: 'Indicates whether the worker supports inpaiting.'; }; }; readonly additionalProperties: false; readonly description: "Details of a worker's image to image capabilities."; }; export declare const $WorkerImageResourceTrainingCapabilities: { readonly type: 'object'; readonly additionalProperties: false; readonly description: "Details of a worker's image resource training capabilities."; }; export declare const $WorkerImageTextToImageCapabilities: { readonly type: 'object'; readonly properties: { readonly size: { readonly type: 'integer'; readonly description: "The worker's maximum supported image size for text to image (squared)."; readonly format: 'int32'; }; readonly schedulers: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/Scheduler'; }; readonly description: 'A list of schedulers the worker supports for text to image.'; }; readonly controlNet: { readonly maximum: 10; readonly minimum: 0; readonly type: 'integer'; readonly description: 'The number of ControlNets the worker supports for text to image (at once).'; readonly format: 'int32'; }; }; readonly additionalProperties: false; readonly description: "Details of a worker's text to image capabilities."; }; export declare const $WorkerImageTransformCapabilities: { readonly type: 'object'; readonly properties: { readonly transformers: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/ImageTransformer'; }; readonly description: 'A list of supported image transformers.'; }; }; readonly additionalProperties: false; readonly description: "Details of a worker's image transform capabilities."; }; export declare const $WorkerMediaCapabilities: { readonly type: 'object'; readonly properties: { readonly wdTagging: { readonly $ref: '#/components/schemas/WorkerMediaWDTaggingCapabilities'; }; readonly comfy: { readonly $ref: '#/components/schemas/WorkerMediaComfyCapabilities'; }; readonly tagging: { readonly $ref: '#/components/schemas/WorkerMediaTaggingCapabilities'; }; readonly movieRating: { readonly $ref: '#/components/schemas/WorkerMediaMovieRatingCapabilities'; }; }; readonly additionalProperties: false; readonly description: "Details of a worker's media capabilities."; }; export declare const $WorkerMediaComfyCapabilities: { readonly type: 'object'; readonly additionalProperties: false; readonly description: "Details of a worker's media comfy capabilities."; }; export declare const $WorkerMediaMovieRatingCapabilities: { readonly type: 'object'; readonly additionalProperties: false; readonly description: "Details of a worker's media movie rating capabilities."; }; export declare const $WorkerMediaTaggingCapabilities: { readonly type: 'object'; readonly additionalProperties: false; readonly description: "Details of a worker's media tagging capabilities."; }; export declare const $WorkerMediaWDTaggingCapabilities: { readonly type: 'object'; readonly additionalProperties: false; readonly description: "Details of a worker's media WD tagging capabilities."; }; export declare const $WorkerModelAvailability: { readonly enum: readonly [ 'unknown', 'unsupported', 'unavailable', 'available', 'providerUnsupported', ]; readonly type: 'string'; readonly description: 'Options for representing the status for a model on a worker.'; }; export declare const $WorkerModelPreparationCapabilities: { readonly type: 'object'; readonly additionalProperties: false; readonly description: "Details of a worker's model preparation capabilities."; }; export declare const $WorkerModelStatus: { readonly required: readonly ['availability']; readonly type: 'object'; readonly properties: { readonly availability: { readonly $ref: '#/components/schemas/WorkerModelAvailability'; }; readonly cost: { readonly type: 'number'; readonly description: 'The cost associated with this model.'; readonly format: 'float'; }; }; readonly additionalProperties: false; readonly description: 'Details for the status of a model on a particular worker.'; }; export declare const $WorkerRegistration: { readonly required: readonly ['name']; readonly type: 'object'; readonly properties: { readonly legacyName: { readonly type: 'string'; readonly nullable: true; }; readonly name: { readonly minLength: 1; readonly type: 'string'; readonly description: "The worker's name."; }; readonly onDemandModelTypesAsArray: { readonly type: 'array'; readonly items: { readonly type: 'string'; }; readonly description: 'An array of asset types the worker can retrieve on demand.'; }; readonly onDemandModelTypes: { readonly uniqueItems: true; readonly type: 'array'; readonly items: { readonly type: 'string'; }; readonly description: 'A hash set of asset types the worker can retrieve on demand.'; }; readonly capabilities: { readonly $ref: '#/components/schemas/WorkerCapabilities'; }; readonly subscription: { readonly $ref: '#/components/schemas/Subscription'; }; readonly type: { readonly $ref: '#/components/schemas/WorkerType'; }; readonly concurrentLimit: { readonly type: 'integer'; readonly description: 'The number of requests the worker can handle at once.'; readonly format: 'int32'; }; readonly ecosystems: { readonly type: 'object'; readonly additionalProperties: { readonly $ref: '#/components/schemas/EcosystemElement'; }; readonly description: 'A collection of ecosystems the worker supports.'; }; readonly models: { readonly type: 'object'; readonly additionalProperties: { readonly $ref: '#/components/schemas/WorkerModelStatus'; }; readonly description: 'A collection of information about the availability of particular models on this worker.'; }; readonly cacheLevel: { readonly type: 'string'; readonly description: 'The name of the closest cache level that this worker can interact with.'; readonly nullable: true; }; readonly maxColdSwapQueueSize: { readonly type: 'integer'; readonly description: 'The max queue size before the worker stops accepting requests that require cold swapping.'; readonly format: 'int32'; readonly nullable: true; }; readonly maxPendingModelSize: { readonly type: 'integer'; readonly description: 'The max size in Mb of downloads that can be pending.'; readonly format: 'int32'; readonly nullable: true; }; readonly consumeUnavailableJobs: { readonly type: 'boolean'; readonly description: 'A value indicating if worker should consume jobs that are not yet available.'; }; readonly nodeIdentifier: { readonly type: 'string'; readonly description: 'An optional identifier unique to this worker.'; readonly nullable: true; }; }; readonly additionalProperties: false; readonly description: "Details of a worker's registration."; }; export declare const $WorkerSimilaritySearchCapabilities: { readonly type: 'object'; readonly additionalProperties: false; readonly description: "Details of a worker's similarity search capabilities."; }; export declare const $WorkerType: { readonly enum: readonly ['normal', 'deferred']; readonly type: 'string'; readonly description: 'Available values for worker type.'; }; export declare const $Workflow: { readonly type: 'object'; readonly properties: { readonly id: { readonly type: 'string'; readonly description: 'The ID for the workflow.'; readonly nullable: true; }; readonly createdAt: { readonly type: 'string'; readonly description: 'The date / time the workflow was created.'; readonly format: 'date-time'; }; readonly transactions: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/TransactionInfo'; }; readonly description: 'An array of transactions on this workflow.'; readonly nullable: true; }; readonly metadata: { readonly type: 'object'; readonly additionalProperties: {}; readonly description: 'A collection of user defined metadata for the workflow.'; readonly nullable: true; }; readonly status: { readonly $ref: '#/components/schemas/WorkflowStatus'; }; readonly startedAt: { readonly type: 'string'; readonly description: 'The date / time the workflow was started. Null if not yet started.'; readonly format: 'date-time'; readonly nullable: true; }; readonly completedAt: { readonly type: 'string'; readonly description: 'The date / time the workflow was completed. Null if not yet complete.'; readonly format: 'date-time'; readonly nullable: true; }; readonly steps: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/WorkflowStep'; }; readonly description: 'The steps for the workflow.'; }; readonly callbacks: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/WorkflowCallback'; }; readonly description: 'An array of callback details for the workflow.'; }; }; readonly additionalProperties: false; readonly description: 'Details of a workflow.'; }; export declare const $WorkflowCallback: { readonly required: readonly ['type', 'url']; readonly type: 'object'; readonly properties: { readonly url: { readonly type: 'string'; readonly description: 'The url for the callback.'; readonly format: 'uri'; }; readonly type: { readonly type: 'array'; readonly items: { readonly enum: readonly [ 'workflow:*', 'workflow:unassigned', 'workflow:processing', 'workflow:succeeded', 'workflow:failed', 'workflow:expired', 'workflow:canceled', 'step:*', 'step:unassigned', 'step:processing', 'step:succeeded', 'step:failed', 'step:expired', 'step:canceled', 'job:*', 'job:unassigned', 'job:processing', 'job:succeeded', 'job:failed', 'job:expired', 'job:canceled', ]; readonly type: 'string'; readonly example: 'workflow:succeeded'; }; readonly description: 'An array of event types to send to the callback.'; }; }; readonly additionalProperties: false; readonly description: 'Details of a callback setup for a workflow.'; }; export declare const $WorkflowEvent: { readonly required: readonly ['status', 'workflowId']; readonly type: 'object'; readonly properties: { readonly workflowId: { readonly minLength: 1; readonly type: 'string'; readonly description: 'The ID that represents the corresponding workflow.'; }; readonly status: { readonly $ref: '#/components/schemas/WorkflowStatus'; }; readonly $type: { readonly type: 'string'; readonly nullable: true; }; }; readonly additionalProperties: false; readonly description: 'Details of a workflow event.'; }; export declare const $WorkflowStatus: { readonly enum: readonly [ 'unassigned', 'preparing', 'scheduled', 'processing', 'succeeded', 'failed', 'expired', 'canceled', ]; readonly type: 'string'; readonly description: 'Values available to represent workflow status.'; }; export declare const $WorkflowStep: { readonly required: readonly ['$type']; readonly type: 'object'; readonly properties: { readonly $type: { readonly type: 'string'; }; readonly name: { readonly type: 'string'; readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.'; readonly nullable: true; }; readonly priority: { readonly $ref: '#/components/schemas/Priority'; }; readonly timeout: { readonly type: 'string'; readonly description: 'The maximum time to wait for this step to complete.'; readonly nullable: true; readonly example: '00:00:00'; }; readonly retries: { readonly type: 'integer'; readonly description: 'The maximum number of times this step should be retried.'; readonly format: 'int32'; readonly nullable: true; }; readonly jobs: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/WorkflowStepJob'; }; readonly description: 'The jobs generated by this step.'; }; readonly status: { readonly $ref: '#/components/schemas/WorkflowStatus'; }; readonly startedAt: { readonly type: 'string'; readonly description: 'The date / time the step was started. Null if not yet started.'; readonly format: 'date-time'; readonly nullable: true; }; readonly completedAt: { readonly type: 'string'; readonly description: 'The date / time the step was completed. Null if not yet completed.'; readonly format: 'date-time'; readonly nullable: true; }; }; readonly additionalProperties: false; readonly description: 'Details of a workflow step.'; readonly discriminator: { readonly propertyName: '$type'; readonly mapping: { readonly textToImage: '#/components/schemas/TextToImageStep'; readonly imageResourceTraining: '#/components/schemas/ImageResourceTrainingStep'; readonly echo: '#/components/schemas/EchoStep'; }; }; }; export declare const $WorkflowStepEvent: { readonly required: readonly ['status', 'stepName', 'workflowId']; readonly type: 'object'; readonly properties: { readonly workflowId: { readonly minLength: 1; readonly type: 'string'; readonly description: 'The workflow ID.'; }; readonly stepName: { readonly minLength: 1; readonly type: 'string'; readonly description: "The workflow step's name."; }; readonly status: { readonly $ref: '#/components/schemas/WorkflowStatus'; }; readonly $type: { readonly type: 'string'; readonly nullable: true; }; }; readonly additionalProperties: false; readonly description: 'Details of a workflow step event.'; }; export declare const $WorkflowStepJob: { readonly required: readonly ['cost', 'id']; readonly type: 'object'; readonly properties: { readonly id: { readonly minLength: 1; readonly type: 'string'; readonly description: "The job's ID."; }; readonly cost: { readonly type: 'number'; readonly description: "The job's cost."; readonly format: 'double'; }; readonly status: { readonly $ref: '#/components/schemas/WorkflowStatus'; }; readonly startedAt: { readonly type: 'string'; readonly description: 'The date / time the job started. Null if not yet started.'; readonly format: 'date-time'; readonly nullable: true; }; readonly completedAt: { readonly type: 'string'; readonly description: 'The date / time the job completed. Null if not yet completed.'; readonly format: 'date-time'; readonly nullable: true; }; readonly queuePosition: { readonly $ref: '#/components/schemas/WorkflowStepJobQueuePosition'; }; }; readonly additionalProperties: false; readonly description: 'Details of a job produced by a workflow step.'; }; export declare const $WorkflowStepJobEvent: { readonly required: readonly ['jobId', 'status', 'stepName', 'workflowId']; readonly type: 'object'; readonly properties: { readonly workflowId: { readonly minLength: 1; readonly type: 'string'; readonly description: 'The workflow ID.'; }; readonly stepName: { readonly minLength: 1; readonly type: 'string'; readonly description: "The step's name."; }; readonly jobId: { readonly minLength: 1; readonly type: 'string'; readonly description: "The job's ID."; }; readonly status: { readonly $ref: '#/components/schemas/WorkflowStatus'; }; readonly $type: { readonly type: 'string'; readonly nullable: true; }; }; readonly additionalProperties: false; readonly description: 'Details of a workflow step job event.'; }; export declare const $WorkflowStepJobQueuePosition: { readonly type: 'object'; readonly properties: { readonly support: { readonly $ref: '#/components/schemas/JobSupport'; }; readonly precedingJobs: { readonly type: 'integer'; readonly description: 'The number of preceding jobs in the queue.'; readonly format: 'int32'; readonly nullable: true; }; readonly startAt: { readonly type: 'string'; readonly description: 'An estimated date / time for when the job will start.'; readonly format: 'date-time'; readonly nullable: true; }; readonly completeAt: { readonly type: 'string'; readonly description: 'An estimated date / time for when the job will complete.'; readonly format: 'date-time'; readonly nullable: true; }; }; readonly additionalProperties: false; readonly description: "Details of the workflow step job's queue position."; }; export declare const $WorkflowStepTemplate: { readonly required: readonly ['$type', 'input']; readonly type: 'object'; readonly properties: { readonly $type: { readonly minLength: 1; readonly type: 'string'; readonly description: 'The type of step the template represents.'; }; readonly name: { readonly type: 'string'; readonly description: 'The name of the workflow step. Used to allow steps to refer to one another.'; readonly nullable: true; }; readonly priority: { readonly $ref: '#/components/schemas/Priority'; }; readonly timeout: { readonly type: 'string'; readonly description: 'The maximum time to wait for this step to complete.'; readonly nullable: true; readonly example: '00:00:00'; }; readonly retries: { readonly type: 'integer'; readonly description: 'The maximum number of times this step should be retried.'; readonly format: 'int32'; readonly nullable: true; }; }; readonly additionalProperties: false; readonly description: 'Details of a workflow step template.'; readonly discriminator: { readonly propertyName: '$type'; readonly mapping: { readonly textToImage: 'TextToImageStepTemplate'; readonly imageResourceTraining: 'ImageResourceTrainingStepTemplate'; readonly echo: 'EchoStepTemplate'; }; }; }; export declare const $WorkflowTemplate: { readonly required: readonly ['steps']; readonly type: 'object'; readonly properties: { readonly metadata: { readonly type: 'object'; readonly additionalProperties: {}; readonly description: 'A colletion of user defined metadata that can be used to store additional information about the workflow.'; readonly nullable: true; }; readonly steps: { readonly minItems: 1; readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/WorkflowStepTemplate'; }; readonly description: 'An array of steps that compose this workflow.'; }; readonly callbacks: { readonly type: 'array'; readonly items: { readonly $ref: '#/components/schemas/WorkflowCallback'; }; readonly description: 'An array of callbacks to be triggered during the lifetime of the workflow.'; }; }; readonly additionalProperties: false; readonly description: 'Details of a requested workflow.'; };