Versions in this module Expand all Collapse all v0 v0.1.0 Nov 22, 2026 Changes in this version + const DefaultBaseURL + const Version + func GenerateIdempotencyKey() string + func Ptr[T any](v T) *T + type APIKey struct + CreatedAt UnixMillis + CreatedBy *APIKeyCreatedBy + DisabledAt UnixMillis + DisabledBy *APIKeyDisabledBy + Enabled bool + ExpiresAt UnixMillis + ID string + Key string + LastUsedAt UnixMillis + Manageable bool + Name string + Prefix string + Scopes []string + type APIKeyCreatedBy struct + Email string + InWorkspace bool + Name string + Role *MemberRole + type APIKeyDisabledBy struct + Name string + type APIKeys struct + func (k *APIKeys) Create(ctx context.Context, p CreateAPIKeyParams) (*APIKey, error) + func (k *APIKeys) List(ctx context.Context) ([]*APIKey, error) + func (k *APIKeys) Revoke(ctx context.Context, id string) error + func (k *APIKeys) Update(ctx context.Context, id string, p UpdateAPIKeyParams) (*APIKey, error) + type Account struct + func (a *Account) Capabilities(ctx context.Context) (*AccountCapabilities, error) + type AccountBucketsParams struct + Provider StorageProvider + type AccountCapabilities struct + Features Features + Limits Limits + Plan Plan + type Asset struct + Checksum string + ContentType string + CreatedAt UnixMillis + CreatedBy string + DeclaredSize *int64 + Etag string + ExpiresAt UnixMillis + Filename string + ID string + Kind AssetKind + Lifecycle AssetLifecycle + MediaType string + Metadata string + OrgID string + Region string + Scope AssetScope + SizeBytes *int64 + Source string + Status AssetStatus + URL string + UpdatedAt UnixMillis + type AssetDownload struct + ExpiresAt UnixMillis + URL string + type AssetKind string + const AssetKindFont + const AssetKindMedia + const AssetKindOther + const AssetKindPsdTemplate + type AssetLifecycle string + const AssetLifecycleEphemeral + const AssetLifecyclePersisted + type AssetPage struct + Assets []*Asset + Meta OffsetMeta + type AssetScope string + const AssetScopeOrg + const AssetScopeSystem + type AssetStatus string + const AssetStatusExpired + const AssetStatusFailed + const AssetStatusPending + const AssetStatusReady + const AssetStatusUploading + type Assets struct + func (a *Assets) Delete(ctx context.Context, id string) error + func (a *Assets) Download(ctx context.Context, id string) (*AssetDownload, error) + func (a *Assets) Get(ctx context.Context, id string) (*Asset, error) + func (a *Assets) List(ctx context.Context, p ListAssetsParams) (*AssetPage, error) + func (a *Assets) Templates(ctx context.Context, p TemplatesParams) (*AssetPage, error) + type Billing struct + func (b *Billing) CancelCreditSchedule(ctx context.Context) error + func (b *Billing) CancelSubscription(ctx context.Context) error + func (b *Billing) CheckoutCredits(ctx context.Context, p CheckoutCreditsParams) (*Checkout, error) + func (b *Billing) CheckoutPlan(ctx context.Context, p CheckoutPlanParams) (*PlanCheckout, error) + func (b *Billing) DeletePaymentMethod(ctx context.Context, id string) error + func (b *Billing) History(ctx context.Context, p PageParams) (*InvoicePage, error) + func (b *Billing) PaymentMethods(ctx context.Context) ([]*PaymentMethod, error) + func (b *Billing) PortalURL(ctx context.Context) (string, error) + func (b *Billing) ReactivateSubscription(ctx context.Context) error + func (b *Billing) SetDefaultPaymentMethod(ctx context.Context, id string) error + func (b *Billing) State(ctx context.Context) (*BillingState, error) + func (b *Billing) Transactions(ctx context.Context, p PageParams) (*TransactionPage, error) + func (b *Billing) Usage(ctx context.Context, p UsageParams) (*Usage, error) + func (b *Billing) UsageByClient(ctx context.Context, p UsageByClientParams) ([]*ClientUsage, error) + type BillingState struct + Balance *BillingStateBalance + CreditBonusRate float64 + CreditSchedule *BillingStateCreditSchedule + CreditsAdded *BillingStateCreditsAdded + IsPro bool + Plan *BillingStatePlan + Subscription *BillingStateSubscription + UpgradePlan *BillingStateUpgradePlan + Usage *BillingStateUsage + type BillingStateBalance struct + Amount float64 + type BillingStateCreditSchedule struct + AmountCents int64 + CancelAtPeriodEnd bool + CurrentPeriodEnd UnixMillis + type BillingStateCreditsAdded struct + Bonus float64 + Granted float64 + Included float64 + Purchased float64 + type BillingStatePlan struct + Limits *BillingStatePlanLimits + Name string + Price float64 + Slug PlanSlug + type BillingStatePlanLimits struct + APIRequestsPerMinute int64 + ConcurrentJobs int64 + MaxInputFileSize int64 + MaxJobTimeout int64 + TeamMembers int64 + type BillingStateSubscription struct + CancelAtPeriodEnd bool + ChangesInPlace bool + CurrentPeriodEnd UnixMillis + CurrentPeriodStart UnixMillis + Status string + type BillingStateUpgradePlan struct + ID string + Limits *BillingStatePlanLimits + Name string + Price float64 + type BillingStateUsage struct + CurrentPeriodSpend float64 + JobCount int64 + SlotWaitJobs int64 + SlotWaitMs int64 + SlotWaitSavedJobs int64 + SlotWaitSavedMs int64 + type BootPhase string + const BootBooting + const BootPullingImage + const BootQueued + const BootRestoring + const BootScheduling + type BootState struct + Detail string + ETA time.Duration + Elapsed time.Duration + Phase BootPhase + Typical time.Duration + type Callback struct + Events []CallbackEvent + Headers map[string]string + URL string + Verify bool + type CallbackEvent string + const CallbackEventJobStarted + type CallbackStatus string + const CallbackStatusDelivered + const CallbackStatusFailed + const CallbackStatusPending + type CaptionBurnAlignment string + const CaptionBurnAlignmentCenter + const CaptionBurnAlignmentLeft + const CaptionBurnAlignmentRight + type CaptionBurnLanguage string + const CaptionBurnLanguageAf + const CaptionBurnLanguageAm + const CaptionBurnLanguageAr + const CaptionBurnLanguageAs + const CaptionBurnLanguageAuto + const CaptionBurnLanguageAz + const CaptionBurnLanguageBa + const CaptionBurnLanguageBe + const CaptionBurnLanguageBg + const CaptionBurnLanguageBn + const CaptionBurnLanguageBo + const CaptionBurnLanguageBr + const CaptionBurnLanguageBs + const CaptionBurnLanguageCa + const CaptionBurnLanguageCs + const CaptionBurnLanguageCy + const CaptionBurnLanguageDa + const CaptionBurnLanguageDe + const CaptionBurnLanguageEl + const CaptionBurnLanguageEn + const CaptionBurnLanguageEs + const CaptionBurnLanguageEt + const CaptionBurnLanguageEu + const CaptionBurnLanguageFa + const CaptionBurnLanguageFi + const CaptionBurnLanguageFo + const CaptionBurnLanguageFr + const CaptionBurnLanguageGl + const CaptionBurnLanguageGu + const CaptionBurnLanguageHa + const CaptionBurnLanguageHaw + const CaptionBurnLanguageHe + const CaptionBurnLanguageHi + const CaptionBurnLanguageHr + const CaptionBurnLanguageHt + const CaptionBurnLanguageHu + const CaptionBurnLanguageHy + const CaptionBurnLanguageID + const CaptionBurnLanguageIs + const CaptionBurnLanguageIt + const CaptionBurnLanguageJa + const CaptionBurnLanguageJw + const CaptionBurnLanguageKa + const CaptionBurnLanguageKk + const CaptionBurnLanguageKm + const CaptionBurnLanguageKn + const CaptionBurnLanguageKo + const CaptionBurnLanguageLa + const CaptionBurnLanguageLb + const CaptionBurnLanguageLn + const CaptionBurnLanguageLo + const CaptionBurnLanguageLt + const CaptionBurnLanguageLv + const CaptionBurnLanguageMg + const CaptionBurnLanguageMi + const CaptionBurnLanguageMk + const CaptionBurnLanguageMl + const CaptionBurnLanguageMn + const CaptionBurnLanguageMr + const CaptionBurnLanguageMs + const CaptionBurnLanguageMt + const CaptionBurnLanguageMy + const CaptionBurnLanguageNe + const CaptionBurnLanguageNl + const CaptionBurnLanguageNn + const CaptionBurnLanguageNo + const CaptionBurnLanguageOc + const CaptionBurnLanguagePa + const CaptionBurnLanguagePl + const CaptionBurnLanguagePs + const CaptionBurnLanguagePt + const CaptionBurnLanguageRo + const CaptionBurnLanguageRu + const CaptionBurnLanguageSa + const CaptionBurnLanguageSd + const CaptionBurnLanguageSi + const CaptionBurnLanguageSk + const CaptionBurnLanguageSl + const CaptionBurnLanguageSn + const CaptionBurnLanguageSo + const CaptionBurnLanguageSq + const CaptionBurnLanguageSr + const CaptionBurnLanguageSu + const CaptionBurnLanguageSv + const CaptionBurnLanguageSw + const CaptionBurnLanguageTa + const CaptionBurnLanguageTe + const CaptionBurnLanguageTg + const CaptionBurnLanguageTh + const CaptionBurnLanguageTk + const CaptionBurnLanguageTl + const CaptionBurnLanguageTr + const CaptionBurnLanguageTt + const CaptionBurnLanguageUk + const CaptionBurnLanguageUr + const CaptionBurnLanguageUz + const CaptionBurnLanguageVi + const CaptionBurnLanguageYi + const CaptionBurnLanguageYo + const CaptionBurnLanguageYue + const CaptionBurnLanguageZh + type CaptionBurnParams struct + Alignment CaptionBurnAlignment + Bold *bool + BoxColor string + BoxEnabled *bool + BoxOpacity *float64 + Font string + FontColor string + FontSize *int64 + Italic *bool + Language CaptionBurnLanguage + MarginH *int64 + MarginV *int64 + MaxCharsPerLine *int64 + OutlineColor string + OutlineWidth *float64 + Position CaptionBurnPosition + Shadow *float64 + func (CaptionBurnParams) JobType() JobType + func (v CaptionBurnParams) Validate() error + type CaptionBurnPosition string + const CaptionBurnPositionBottom + const CaptionBurnPositionCenter + const CaptionBurnPositionTop + type CaptionsAnimateLanguage string + const CaptionsAnimateLanguageEn + type CaptionsAnimateMode string + const CaptionsAnimateModeAccurate + const CaptionsAnimateModeBalanced + const CaptionsAnimateModeFast + type CaptionsAnimateParams struct + AutoEmphasis *bool + CaptionData *bool + Language CaptionsAnimateLanguage + Mode CaptionsAnimateMode + Preset CaptionsAnimatePreset + Style *CaptionsAnimateStyle + TranslateTo CaptionsAnimateTranslateTo + func (CaptionsAnimateParams) JobType() JobType + func (v CaptionsAnimateParams) Validate() error + type CaptionsAnimatePreset string + const CaptionsAnimatePresetGold + const CaptionsAnimatePresetHormozi + const CaptionsAnimatePresetKaraoke + const CaptionsAnimatePresetMinimal + const CaptionsAnimatePresetMrbeast + const CaptionsAnimatePresetNeon + const CaptionsAnimatePresetPill + const CaptionsAnimatePresetReveal + const CaptionsAnimatePresetSubtitleBlock + const CaptionsAnimatePresetTiktok + const CaptionsAnimatePresetWordPop + type CaptionsAnimateStyle struct + Bold *bool + Case CaptionsAnimateStyleCase + Emphasis *CaptionsAnimateStyleEmphasis + Entrance CaptionsAnimateStyleEntrance + Fill string + Font string + FontSize *int64 + Highlight *CaptionsAnimateStyleHighlight + Layout CaptionsAnimateStyleLayout + MarginV *int64 + Position CaptionsAnimateStylePosition + Punctuation CaptionsAnimateStylePunctuation + Shadow *float64 + Stroke *CaptionsAnimateStyleStroke + type CaptionsAnimateStyleCase string + const CaptionsAnimateStyleCaseNormal + const CaptionsAnimateStyleCaseUpper + type CaptionsAnimateStyleEmphasis struct + Color string + type CaptionsAnimateStyleEntrance string + const CaptionsAnimateStyleEntranceBounce + const CaptionsAnimateStyleEntranceFade + const CaptionsAnimateStyleEntrancePop + type CaptionsAnimateStyleHighlight struct + Color string + Mode CaptionsAnimateStyleHighlightMode + Scale *float64 + TextColor string + type CaptionsAnimateStyleHighlightMode string + const CaptionsAnimateStyleHighlightModeBox + const CaptionsAnimateStyleHighlightModeColor + type CaptionsAnimateStyleLayout string + const CaptionsAnimateStyleLayoutPhrase + const CaptionsAnimateStyleLayoutWord + type CaptionsAnimateStylePosition string + const CaptionsAnimateStylePositionBottom + const CaptionsAnimateStylePositionCenter + const CaptionsAnimateStylePositionTop + type CaptionsAnimateStylePunctuation string + const CaptionsAnimateStylePunctuationEmphatic + const CaptionsAnimateStylePunctuationKeep + const CaptionsAnimateStylePunctuationStrip + type CaptionsAnimateStyleStroke struct + Color string + Width *float64 + type CaptionsAnimateTranslateTo string + const CaptionsAnimateTranslateToDe + const CaptionsAnimateTranslateToEs + const CaptionsAnimateTranslateToFr + const CaptionsAnimateTranslateToIt + const CaptionsAnimateTranslateToNl + const CaptionsAnimateTranslateToPt + type ChangeRoleParams struct + Role MemberRole + type Checkout struct + CheckoutID string + CheckoutURL string + type CheckoutCreditsInterval string + const CheckoutCreditsIntervalMonth + type CheckoutCreditsParams struct + Amount *float64 + Interval CheckoutCreditsInterval + type CheckoutPlanParams struct + Plan PlanSlug + type Client struct + APIKeys *APIKeys + Account *Account + Assets *Assets + Billing *Billing + Compose *Compose + Jobs *Jobs + Notifications *Notifications + Orgs *Orgs + Storage *Storage + Uploads *Uploads + Webhooks *Webhooks + func New(opts ...Option) *Client + type ClientUsage struct + AmountCharged int64 + AmountFormatted string + Client string + JobCount int64 + type Compose struct + func (c *Compose) Effects(ctx context.Context) (*ComposeEffects, error) + func (c *Compose) EngineEffects(ctx context.Context) (*ComposeEngineEffects, error) + func (c *Compose) Validate(ctx context.Context, p ComposeValidateParams) (*ComposeValidation, error) + type ComposeEffect struct + Group ComposeEffectGroup + Medium ComposeEffectMedium + NeedsOneOf []string + Params map[string]ComposeEffectParam + Required []string + Summary string + Type string + type ComposeEffectGroup string + const ComposeEffectGroupColor + const ComposeEffectGroupLayers + const ComposeEffectGroupSound + const ComposeEffectGroupStylize + type ComposeEffectMedium string + const ComposeEffectMediumPicture + const ComposeEffectMediumSound + type ComposeEffectParam struct + Alpha bool + Default json.RawMessage + Description string + Format string + Keyframes bool + Kind ComposeParamKind + Max float64 + MeasuredAgainst ComposeMeasuredAgainst + Min float64 + Unit string + Values []string + type ComposeEffects struct + Effects []ComposeEffect + type ComposeEngineEffects struct + Filters []EngineFilter + type ComposeMeasuredAgainst string + const ComposeMeasuredAgainstHeight + const ComposeMeasuredAgainstWidth + type ComposeParamKind string + const ComposeParamKindColor + const ComposeParamKindEnum + const ComposeParamKindFile + const ComposeParamKindLength + const ComposeParamKindNumber + type ComposePrice struct + MinSeconds int64 + PerMinuteUSD float64 + type ComposeValidateParams struct + Params map[string]any + type ComposeValidation struct + Params map[string]any + Price *ComposePrice + Problems []Problem + Upgraded []string + Valid bool + Warnings []Problem + func (v *ComposeValidation) UnmarshalJSON(b []byte) error + type CompressTargetAlpha interface + type CompressTargetAlphaColor string + type CompressTargetAlphaMode string + const CompressTargetAlphaModeFlatten + const CompressTargetAlphaModePreserve + type CompressTargetAudio struct + Channels CompressTargetAudioChannels + LoudnessLufs *float64 + type CompressTargetAudioChannels string + const CompressTargetAudioChannelsMono + const CompressTargetAudioChannelsPreserve + const CompressTargetAudioChannelsStereo + type CompressTargetCodec string + const CompressTargetCodecAac + const CompressTargetCodecAlac + const CompressTargetCodecAuto + const CompressTargetCodecAv1 + const CompressTargetCodecAvif + const CompressTargetCodecFlac + const CompressTargetCodecH264 + const CompressTargetCodecHevc + const CompressTargetCodecJpegli + const CompressTargetCodecJxl + const CompressTargetCodecMp3 + const CompressTargetCodecOpus + const CompressTargetCodecPng + const CompressTargetCodecVp9 + const CompressTargetCodecWebp + type CompressTargetColorspace string + const CompressTargetColorspacePreserve + const CompressTargetColorspaceSrgb + type CompressTargetCompatibility string + const CompressTargetCompatibilityBroad + const CompressTargetCompatibilityLegacy + const CompressTargetCompatibilityModern + type CompressTargetEffort string + const CompressTargetEffortBalanced + const CompressTargetEffortFast + const CompressTargetEffortThorough + type CompressTargetFor string + const CompressTargetForArchive + const CompressTargetForWeb + type CompressTargetMaxResolution interface + type CompressTargetMaxResolutionInt int64 + type CompressTargetMaxResolutionPreset string + const CompressTargetMaxResolutionPreset1080p + const CompressTargetMaxResolutionPreset1440p + const CompressTargetMaxResolutionPreset2160p + const CompressTargetMaxResolutionPreset360p + const CompressTargetMaxResolutionPreset4320p + const CompressTargetMaxResolutionPreset480p + const CompressTargetMaxResolutionPreset720p + type CompressTargetMetadata string + const CompressTargetMetadataAll + const CompressTargetMetadataColorOnly + const CompressTargetMetadataNone + type CompressTargetParams struct + Alpha CompressTargetAlpha + Audio *CompressTargetAudio + Codec CompressTargetCodec + Colorspace CompressTargetColorspace + Compatibility CompressTargetCompatibility + DryRun *bool + Effort CompressTargetEffort + For CompressTargetFor + ForceReencode *bool + MaxResolution CompressTargetMaxResolution + Metadata CompressTargetMetadata + Target CompressTargetTarget + Timeout *int64 + Tuning *CompressTargetTuning + Video *CompressTargetVideo + func (CompressTargetParams) JobType() JobType + func (v CompressTargetParams) Validate() error + type CompressTargetTarget interface + type CompressTargetTargetBitrate struct + Bitrate *int64 + type CompressTargetTargetInt int64 + type CompressTargetTargetMaxBytes struct + MaxBytes *int64 + type CompressTargetTargetMaxSize struct + MaxSize string + type CompressTargetTargetPreset string + const CompressTargetTargetPresetBalanced + const CompressTargetTargetPresetEfficient + const CompressTargetTargetPresetVisuallyLossless + type CompressTargetTargetQuality struct + Quality *int64 + type CompressTargetTuning struct + Floor *float64 + Metric CompressTargetTuningMetric + type CompressTargetTuningMetric string + const CompressTargetTuningMetricAuto + const CompressTargetTuningMetricSsimulacra2 + const CompressTargetTuningMetricVMAF + type CompressTargetVideo struct + AudioTracks CompressTargetVideoAudioTracks + Subtitles CompressTargetVideoSubtitles + type CompressTargetVideoAudioTracks string + const CompressTargetVideoAudioTracksAll + const CompressTargetVideoAudioTracksNone + const CompressTargetVideoAudioTracksPrimary + type CompressTargetVideoSubtitles string + const CompressTargetVideoSubtitlesPreserve + const CompressTargetVideoSubtitlesStrip + type Content string + func (s Content) MarshalJSON() ([]byte, error) + type ContextError struct + Err error + Job *Job + JobID string + func (e *ContextError) Error() string + func (e *ContextError) Unwrap() error + type Cost struct + Currency Currency + Formatted string + Nanodollars int64 + func (c *Cost) UnmarshalJSON(b []byte) error + type CreateAPIKeyParams struct + ExpiresIn *int64 + Name string + Scopes []string + type CreateOrgParams struct + Name string + Slug string + type CreateParams struct + Callback *Callback + Destinations []string + ForceAsync bool + IdempotencyKey string + Inputs map[string]Input + Label string + Params JobParams + type CreateStorageParams interface + type CreateStorageR2Credentials interface + type CreateStorageR2Params struct + AccountID string + Bucket string + CreateBucket *bool + Credentials CreateStorageR2Credentials + ID string + Jurisdiction R2Jurisdiction + PublicBaseURL string + func (v CreateStorageR2Params) MarshalJSON() ([]byte, error) + type CreateStorageS3CompatibleParams struct + Bucket string + CreateBucket *bool + Credentials *StorageKeys + Endpoint string + ID string + PathStyle *bool + PublicBaseURL string + Region string + func (v CreateStorageS3CompatibleParams) MarshalJSON() ([]byte, error) + type CreateStorageS3Credentials interface + type CreateStorageS3Params struct + Bucket string + CreateBucket *bool + Credentials CreateStorageS3Credentials + ID string + PublicBaseURL string + Region string + func (v CreateStorageS3Params) MarshalJSON() ([]byte, error) + type CreateStorageSupabaseCredentials interface + type CreateStorageSupabaseParams struct + Bucket string + CreateBucket *bool + Credentials CreateStorageSupabaseCredentials + Endpoint string + ID string + ProjectRef string + PublicBaseURL string + Region string + func (v CreateStorageSupabaseParams) MarshalJSON() ([]byte, error) + type CreateWebhookParams struct + Name string + SubscribedEvents []WebhookEvent + URL string + type Created struct + ID string + Replayed bool + Status JobStatus + URL string + type Currency string + const CurrencyUSD + type CurrentOrg struct + Balance *CurrentOrgBalance + Org *CurrentOrgDetails + Plan *CurrentOrgPlan + Subscription *CurrentOrgSubscription + type CurrentOrgBalance struct + Balance int64 + BalanceFormatted string + type CurrentOrgDetails struct + CreatedAt UnixMillis + ID string + IsDemo bool + MemberRole MemberRole + Name string + Slug string + type CurrentOrgPlan struct + Features *CurrentOrgPlanFeatures + ID string + Limits *CurrentOrgPlanLimits + Name string + type CurrentOrgPlanFeatures struct + CustomRunners bool + GPU bool + Mcp bool + PriorityQueue bool + RawFfmpeg bool + Webhooks bool + type CurrentOrgPlanLimits struct + APIRequestsPerMinute int64 + ConcurrentJobs int64 + MaxInputFileSize int64 + MaxJobTimeout int64 + type CurrentOrgSubscription struct + AdapterID string + CurrentPeriodEnd UnixMillis + CurrentPeriodStart UnixMillis + PlanID string + Status string + type CustomParams struct + Fields map[string]any + Type JobType + func (p CustomParams) JobType() JobType + func (p CustomParams) MarshalJSON() ([]byte, error) + func (p CustomParams) Validate() error + type DeliveriesRetried struct + Retried int64 + type Delivery struct + Path string + Reason DeliveryReason + Renamed bool + Status DeliveryStatus + StorageID string + URL string + func (d *Delivery) UnmarshalJSON(b []byte) error + type DeliveryPage struct + Deliveries []*WebhookDelivery + Meta DeliveryPageMeta + type DeliveryPageMeta struct + Limit int64 + Offset int64 + Page int64 + Pages int64 + Total int64 + type DeliveryReason string + const DeliveryReasonAlreadyExists + const DeliveryReasonBucketNotFound + const DeliveryReasonDestinationDenied + const DeliveryReasonDestinationUnavailable + const DeliveryReasonNotDeliverable + const DeliveryReasonObjectTooLarge + const DeliveryReasonSignatureMismatch + type DeliveryStatus string + const DeliveryStatusDelivered + const DeliveryStatusFailed + const DeliveryStatusPending + type DeprecationNotice struct + DeprecatedAt time.Time + Method string + Path string + type Download struct + Body io.ReadCloser + ContentType string + Filename string + Size int64 + type EngineCheck string + const EngineCheckNondeterministic + const EngineCheckProven + const EngineCheckUnproven + type EngineEffectParam struct + Kind EngineParamKind + Max float64 + Min float64 + Values []string + type EngineFilter struct + Checked EngineCheck + Filter string + Params map[string]EngineEffectParam + type EngineParamKind string + const EngineParamKindColor + const EngineParamKindEnum + const EngineParamKindFlags + const EngineParamKindNumber + const EngineParamKindRect + const EngineParamKindSize + const EngineParamKindSwitch + type Error struct + Code ErrorCode + Details json.RawMessage + Message string + Problems []Problem + RequestID string + RetryAfter time.Duration + StatusCode int + func (e *Error) Error() string + type ErrorCode string + const CodeConflict + const CodeFeatureNotEnabled + const CodeFileTooLarge + const CodeForbidden + const CodeGone + const CodeInputFetchFailed + const CodeInputFetchStalled + const CodeInputNotMedia + const CodeInputURLBlocked + const CodeInputUnsupported + const CodeInsufficientCredits + const CodeInsufficientScope + const CodeInternal + const CodeInvalidAPIKey + const CodeInvalidArgument + const CodeInvalidJobType + const CodeMissingAPIKey + const CodeNotConfigured + const CodeNotFound + const CodeNotImplemented + const CodeOrgSuspended + const CodePlanLimit + const CodeProcessingFailed + const CodeQueueExpired + const CodeQueueFull + const CodeRateLimited + const CodeRunnerError + const CodeRunnerTimeout + const CodeStorageQuotaExceeded + const CodeUnauthorized + const CodeUnknown + const CodeUploadFailed + const CodeUpstream + const CodeValidation + type FailurePhase string + const FailurePhaseFinalizing + const FailurePhasePreparing + const FailurePhaseProcessing + type Features struct + AuditLog bool + CustomRunners bool + FastOutputDelivery bool + GPU bool + MCP bool + PriorityQueue bool + PrioritySupport bool + RawFFmpeg bool + Webhooks bool + type FfmpegCompute string + const FfmpegComputeAuto + const FfmpegComputeCPU + const FfmpegComputeGPU + type FfmpegParams struct + Command string + Compute FfmpegCompute + Timeout *int64 + func (FfmpegParams) JobType() JobType + func (v FfmpegParams) Validate() error + type FfprobeAudioStream struct + BitrateBps *int64 + ChannelLayout string + Channels *int64 + Codec string + Language string + Profile string + SampleRate *int64 + type FfprobeAudioSummary struct + Audio *FfprobeAudioStream + BitrateBps *int64 + Container string + DurationSec *float64 + FormatLongName string + SizeBytes *int64 + StartTimeSec *float64 + StreamCounts *FfprobeStreamCounts + Tags map[string]string + type FfprobeChapter struct + EndTime string + ID int64 + StartTime string + Tags map[string]string + type FfprobeFormat struct + BitRate string + Duration string + Filename string + FormatLongName string + FormatName string + NbPrograms int64 + NbStreams int64 + ProbeScore int64 + Size string + StartTime string + Tags map[string]string + type FfprobeFrame struct + MediaType string + StreamIndex int64 + type FfprobeImageStream struct + BitDepth *int64 + Codec string + Height *int64 + PixelFormat string + Width *int64 + type FfprobeImageSummary struct + BitrateBps *int64 + Container string + DurationSec *float64 + FormatLongName string + Image *FfprobeImageStream + SizeBytes *int64 + StartTimeSec *float64 + StreamCounts *FfprobeStreamCounts + Tags map[string]string + type FfprobeOtherSummary struct + BitrateBps *int64 + Container string + DurationSec *float64 + FormatLongName string + SizeBytes *int64 + StartTimeSec *float64 + StreamCounts *FfprobeStreamCounts + Tags map[string]string + type FfprobePacket struct + CodecType string + StreamIndex int64 + type FfprobeParams struct + Command string + Timeout *int64 + func (FfprobeParams) JobType() JobType + func (v FfprobeParams) Validate() error + type FfprobeProgram struct + NbStreams int64 + ProgramID int64 + Streams []FfprobeStream + Tags map[string]string + type FfprobeResult struct + Chapters []FfprobeChapter + Format *FfprobeFormat + Frames []FfprobeFrame + Packets []FfprobePacket + Programs []FfprobeProgram + ReportURL string + Stderr string + Stdout string + StreamGroups []FfprobeStreamGroup + Streams []FfprobeStream + Summary *FfprobeSummary + Warnings []FfprobeWarning + type FfprobeStream struct + AvgFrameRate string + BitRate string + ChannelLayout string + Channels int64 + CodecLongName string + CodecName string + CodecType FfprobeStreamCodecType + CodedHeight int64 + CodedWidth int64 + DisplayAspectRatio string + Disposition map[string]int64 + Duration string + FieldOrder string + Height int64 + Index int64 + NbFrames string + NbReadFrames string + PixFmt string + Profile string + RFrameRate string + SampleAspectRatio string + SampleFmt string + SampleRate string + Tags map[string]string + Width int64 + type FfprobeStreamCodecType string + const FfprobeStreamCodecTypeAttachment + const FfprobeStreamCodecTypeAudio + const FfprobeStreamCodecTypeData + const FfprobeStreamCodecTypeSubtitle + const FfprobeStreamCodecTypeVideo + type FfprobeStreamCounts struct + Attachment int64 + Audio int64 + Data int64 + Subtitle int64 + Video int64 + type FfprobeStreamGroup struct + Index int64 + NbStreams int64 + Type string + type FfprobeSummary struct + Audio *FfprobeAudioSummary + Image *FfprobeImageSummary + Kind FfprobeSummaryKind + Other *FfprobeOtherSummary + Video *FfprobeVideoSummary + func (u *FfprobeSummary) UnmarshalJSON(b []byte) error + type FfprobeSummaryKind string + const FfprobeSummaryKindAudio + const FfprobeSummaryKindImage + const FfprobeSummaryKindOther + const FfprobeSummaryKindVideo + type FfprobeVideoStream struct + BitDepth *int64 + BitrateBps *int64 + Codec string + DisplayAspectRatio string + FPS *float64 + Height *int64 + IsHdr bool + IsVariableFrameRate bool + Language string + PixelFormat string + Profile string + Rotation int64 + Width *int64 + type FfprobeVideoSummary struct + Audio *FfprobeAudioStream + BitrateBps *int64 + Container string + DurationSec *float64 + FormatLongName string + SizeBytes *int64 + StartTimeSec *float64 + StreamCounts *FfprobeStreamCounts + Tags map[string]string + Video *FfprobeVideoStream + type FfprobeWarning struct + Code string + Message string + type FieldType string + const FieldTypeBoolean + const FieldTypeJSON + const FieldTypeNumber + const FieldTypeOptions + const FieldTypeString + type FileType string + const FileTypeAudio + const FileTypeCaptions + const FileTypeData + const FileTypeImage + const FileTypeOther + const FileTypePlaylist + const FileTypeVideo + type FinishSupabaseParams struct + Bucket string + CreateBucket *bool + ID string + ProjectRef string + PublicBaseURL string + State string + type Font struct + Family string + Src string + type Fonts []Font + type FromJob string + func (j FromJob) MarshalJSON() ([]byte, error) + type ImageEditEconomyParams struct + EnhancePrompt *bool + Height *int64 + Prompt string + Seed *int64 + Width *int64 + func (ImageEditEconomyParams) JobType() JobType + func (v ImageEditEconomyParams) MarshalJSON() ([]byte, error) + func (v ImageEditEconomyParams) Validate() error + type ImageEditFlux2Klein4bParams struct + EnhancePrompt *bool + Height *int64 + Prompt string + Seed *int64 + Width *int64 + func (ImageEditFlux2Klein4bParams) JobType() JobType + func (v ImageEditFlux2Klein4bParams) MarshalJSON() ([]byte, error) + func (v ImageEditFlux2Klein4bParams) Validate() error + type ImageEditPremiumParams struct + EnhancePrompt *bool + Height *int64 + Prompt string + Seed *int64 + Width *int64 + func (ImageEditPremiumParams) JobType() JobType + func (v ImageEditPremiumParams) MarshalJSON() ([]byte, error) + func (v ImageEditPremiumParams) Validate() error + type ImageEditQwenImageEdit2511LightningParams struct + EnhancePrompt *bool + Height *int64 + Prompt string + Seed *int64 + Steps *int64 + Width *int64 + func (ImageEditQwenImageEdit2511LightningParams) JobType() JobType + func (v ImageEditQwenImageEdit2511LightningParams) MarshalJSON() ([]byte, error) + func (v ImageEditQwenImageEdit2511LightningParams) Validate() error + type ImageEditQwenImageEdit2511Params struct + EnhancePrompt *bool + Guidance *float64 + Height *int64 + NegativePrompt string + Prompt string + Seed *int64 + Steps *int64 + Width *int64 + func (ImageEditQwenImageEdit2511Params) JobType() JobType + func (v ImageEditQwenImageEdit2511Params) MarshalJSON() ([]byte, error) + func (v ImageEditQwenImageEdit2511Params) Validate() error + type ImageEditStandardParams struct + EnhancePrompt *bool + Height *int64 + Prompt string + Seed *int64 + Width *int64 + func (ImageEditStandardParams) JobType() JobType + func (v ImageEditStandardParams) MarshalJSON() ([]byte, error) + func (v ImageEditStandardParams) Validate() error + type ImageGenerateEconomyParams struct + EnhancePrompt *bool + Height *int64 + Prompt string + Seed *int64 + Width *int64 + func (ImageGenerateEconomyParams) JobType() JobType + func (v ImageGenerateEconomyParams) MarshalJSON() ([]byte, error) + func (v ImageGenerateEconomyParams) Validate() error + type ImageGenerateErnieImageTurboParams struct + EnhancePrompt *bool + Height *int64 + Prompt string + Seed *int64 + Width *int64 + func (ImageGenerateErnieImageTurboParams) JobType() JobType + func (v ImageGenerateErnieImageTurboParams) MarshalJSON() ([]byte, error) + func (v ImageGenerateErnieImageTurboParams) Validate() error + type ImageGenerateFlux2DevParams struct + EnhancePrompt *bool + Guidance *float64 + Height *int64 + Prompt string + Seed *int64 + Steps *int64 + Width *int64 + func (ImageGenerateFlux2DevParams) JobType() JobType + func (v ImageGenerateFlux2DevParams) MarshalJSON() ([]byte, error) + func (v ImageGenerateFlux2DevParams) Validate() error + type ImageGenerateFlux2Klein4bParams struct + EnhancePrompt *bool + Height *int64 + Prompt string + Seed *int64 + Width *int64 + func (ImageGenerateFlux2Klein4bParams) JobType() JobType + func (v ImageGenerateFlux2Klein4bParams) MarshalJSON() ([]byte, error) + func (v ImageGenerateFlux2Klein4bParams) Validate() error + type ImageGeneratePremiumParams struct + EnhancePrompt *bool + Height *int64 + Prompt string + Seed *int64 + Width *int64 + func (ImageGeneratePremiumParams) JobType() JobType + func (v ImageGeneratePremiumParams) MarshalJSON() ([]byte, error) + func (v ImageGeneratePremiumParams) Validate() error + type ImageGenerateQwenImage2512LightningParams struct + EnhancePrompt *bool + Height *int64 + Prompt string + Seed *int64 + Steps *int64 + Width *int64 + func (ImageGenerateQwenImage2512LightningParams) JobType() JobType + func (v ImageGenerateQwenImage2512LightningParams) MarshalJSON() ([]byte, error) + func (v ImageGenerateQwenImage2512LightningParams) Validate() error + type ImageGenerateQwenImage2512Params struct + EnhancePrompt *bool + Guidance *float64 + Height *int64 + NegativePrompt string + Prompt string + Seed *int64 + Steps *int64 + Width *int64 + func (ImageGenerateQwenImage2512Params) JobType() JobType + func (v ImageGenerateQwenImage2512Params) MarshalJSON() ([]byte, error) + func (v ImageGenerateQwenImage2512Params) Validate() error + type ImageGenerateStandardParams struct + EnhancePrompt *bool + Height *int64 + Prompt string + Seed *int64 + Width *int64 + func (ImageGenerateStandardParams) JobType() JobType + func (v ImageGenerateStandardParams) MarshalJSON() ([]byte, error) + func (v ImageGenerateStandardParams) Validate() error + type ImageGenerateZImageTurboParams struct + EnhancePrompt *bool + Height *int64 + Prompt string + Seed *int64 + Steps *int64 + Width *int64 + func (ImageGenerateZImageTurboParams) JobType() JobType + func (v ImageGenerateZImageTurboParams) MarshalJSON() ([]byte, error) + func (v ImageGenerateZImageTurboParams) Validate() error + type ImageUpscaleColorCorrection string + const ImageUpscaleColorCorrectionAdain + const ImageUpscaleColorCorrectionHSV + const ImageUpscaleColorCorrectionLAB + const ImageUpscaleColorCorrectionNone + const ImageUpscaleColorCorrectionWavelet + const ImageUpscaleColorCorrectionWaveletAdaptive + type ImageUpscaleModel string + const ImageUpscaleModelSeedvr23b + const ImageUpscaleModelSeedvr27b + type ImageUpscaleParams struct + ColorCorrection ImageUpscaleColorCorrection + InputNoise *float64 + InputScale *float64 + LatentNoise *float64 + Model ImageUpscaleModel + Passes *int64 + Seed *int64 + Sizing ImageUpscaleSizing + func (ImageUpscaleParams) JobType() JobType + func (v ImageUpscaleParams) Validate() error + type ImageUpscaleSizing interface + type ImageUpscaleSizingFactor struct + Factor *float64 + func (v ImageUpscaleSizingFactor) MarshalJSON() ([]byte, error) + type ImageUpscaleSizingHeight struct + Height *int64 + func (v ImageUpscaleSizingHeight) MarshalJSON() ([]byte, error) + type Input interface + type Invitation struct + Email string + ExpiresAt UnixMillis + ID string + Role MemberRole + type Invitations struct + func (i *Invitations) Revoke(ctx context.Context, invitationID string) error + type InviteMemberParams struct + Email string + Role MemberRole + type Invoice struct + Amount float64 + CreatedAt string + Currency string + ID string + ProductName string + Status string + type InvoicePage struct + Invoices []*Invoice + Meta PageMeta + type Job struct + Cancelled *JobCancelled + Complete *JobComplete + Dispatched *JobDispatched + Failed *JobFailed + Running *JobRunning + Waiting *JobWaiting + func (j *Job) CreatedAt() time.Time + func (j *Job) ID() string + func (j *Job) Info() JobInfo + func (j *Job) IsTerminal() bool + func (j *Job) Status() JobStatus + func (j *Job) Type() JobType + func (j *Job) UnmarshalJSON(b []byte) error + type JobActivity struct + BucketStart UnixMillis + Failed int64 + Other int64 + Succeeded int64 + type JobCancelled struct + type JobComplete struct + Output JobOutput + func (c *JobComplete) Ffprobe() (*FfprobeResult, error) + type JobDispatched struct + Boot *BootState + ETA time.Duration + Progress *float64 + type JobError struct + Code string + Detail string + Message string + Phase FailurePhase + Retryable bool + func (e *JobError) UnmarshalJSON(b []byte) error + type JobFailed struct + Error JobError + type JobFailedError struct + Code string + Job *Job + func (e *JobFailedError) Error() string + type JobInfo struct + CallbackStatus CallbackStatus + Client string + CompletedAt time.Time + Cost *Cost + CreatedAt time.Time + Deliveries []Delivery + DispatchedAt time.Time + ID string + IdempotencyKey string + Inputs json.RawMessage + Label string + LogsAvailable bool + MediaType string + Model string + OrgID string + OutputCategory OutputCategory + Params json.RawMessage + Region string + ResourcesAvailable bool + RetentionExpiresAt time.Time + RetryCount int + SettledAt time.Time + Source string + StartedAt time.Time + Steps []JobStep + Timeout time.Duration + Type JobType + WebURL string + type JobLogEntry struct + DurationMs int64 + Event string + Level string + Message string + Meta json.RawMessage + Step string + Timestamp UnixMillis + type JobOutput struct + Data json.RawMessage + ExpiresAt time.Time + File *OutputFile + Files []OutputFile + func (o *JobOutput) UnmarshalJSON(b []byte) error + type JobParams interface + JobType func() JobType + Validate func() error + type JobRunning struct + ETA time.Duration + Progress *float64 + type JobShare struct + CreatedAt UnixMillis + ShareID string + ShareURL string + type JobStats struct + Activity []JobActivity + AvgDurationMs *int64 + Spend *JobStatsSpend + SuccessRate *float64 + Totals *JobStatsTotals + Window *JobStatsWindow + type JobStatsSpend struct + Amount int64 + Formatted string + type JobStatsTotals struct + Cancelled int64 + Failed int64 + Jobs int64 + Running int64 + Succeeded int64 + type JobStatsWindow struct + From UnixMillis + To UnixMillis + type JobStatus string + const StatusCancelled + const StatusComplete + const StatusDispatched + const StatusFailed + const StatusRunning + const StatusWaiting + type JobStep struct + CompletedAt time.Time + Duration time.Duration + Error string + ID string + Meta json.RawMessage + Name string + StartedAt time.Time + Status StepStatus + func (s *JobStep) UnmarshalJSON(b []byte) error + type JobTimings struct + APIDbInsertMs *int64 + APIDispatchMs *int64 + APIPrechecksMs *int64 + APITotalMs *int64 + APIValidationMs *int64 + ConsumerTotalMs *int64 + ExecDownloadMs *int64 + ExecExecuteMs *int64 + ExecTotalMs *int64 + ExecUploadMs *int64 + JobID string + QueueWaitMs *int64 + type JobType string + const JobTypeCaptionBurn + const JobTypeCaptionsAnimate + const JobTypeCompose + const JobTypeCompressTarget + const JobTypeFfmpeg + const JobTypeFfprobe + const JobTypeImageEdit + const JobTypeImageGenerate + const JobTypeImageUpscale + type JobTypeInfo struct + AcceptsMedia []string + ChainsWith []string + Summary string + Tag string + Type JobType + UseCases []string + type JobTypeSchema struct + Discriminator string + Fields []SchemaField + Inputs SchemaInputs + JSONSchema json.RawMessage + Type JobType + type JobWaiting struct + type Jobs struct + func (j *Jobs) All(ctx context.Context, p ListParams) iter.Seq2[*Job, error] + func (j *Jobs) Cancel(ctx context.Context, id string) error + func (j *Jobs) Create(ctx context.Context, p CreateParams) (*Created, error) + func (j *Jobs) CreateShare(ctx context.Context, id string) (*JobShare, error) + func (j *Jobs) DeleteShare(ctx context.Context, id string) error + func (j *Jobs) Download(ctx context.Context, id string) (*Download, error) + func (j *Jobs) Get(ctx context.Context, id string) (*Job, error) + func (j *Jobs) GetShare(ctx context.Context, id string) (*JobShare, error) + func (j *Jobs) List(ctx context.Context, p ListParams) (*Page, error) + func (j *Jobs) Logs(ctx context.Context, id string) ([]*JobLogEntry, error) + func (j *Jobs) RetryDeliveries(ctx context.Context, id string) (*DeliveriesRetried, error) + func (j *Jobs) Run(ctx context.Context, p CreateParams, o *WaitOptions) (*Job, error) + func (j *Jobs) Schema(ctx context.Context, jobType JobType) (*JobTypeSchema, error) + func (j *Jobs) Stats(ctx context.Context, p StatsParams) (*JobStats, error) + func (j *Jobs) Timings(ctx context.Context, id string) (*JobTimings, error) + func (j *Jobs) Types(ctx context.Context) ([]JobTypeInfo, error) + func (j *Jobs) Wait(ctx context.Context, id string, o *WaitOptions) (*Job, error) + type Limits struct + APIRequestsPerMinute int + ComposeAnimatedMaxFPS int + ComposeAnimatedMaxPixels int64 + ComposeMaxFPS int + ComposeMaxPixels int64 + ConcurrentJobs int + MaxInputFileSize int64 + MaxJobTimeout time.Duration + MaxQueuedJobs int + MaxUploadSessionFiles int + OutputRetentionDays int + StorageQuota int64 + TeamMembers int + func (l *Limits) UnmarshalJSON(b []byte) error + func (l Limits) MarshalJSON() ([]byte, error) + type ListAssetsParams struct + Kind AssetKind + Lifecycle AssetLifecycle + Limit int + Offset int + Scope AssetScope + Status AssetStatus + type ListDeliveriesParams struct + EndpointID string + Event WebhookEvent + JobID string + Limit int + Offset int + Status WebhookDeliveryStatus + type ListObjectsParams struct + Cursor string + Limit int + Prefix string + type ListParams struct + Limit int + Offset int + Status JobStatus + Type JobType + type MarkReadParams struct + IDs []string + type MemberRole string + const MemberRoleAdmin + const MemberRoleMember + const MemberRoleOwner + type Members struct + func (m *Members) ChangeRole(ctx context.Context, memberID string, p ChangeRoleParams) error + func (m *Members) Invite(ctx context.Context, p InviteMemberParams) (*Invitation, error) + func (m *Members) Remove(ctx context.Context, memberID string) error + type Notification struct + ActionLabel string + Body string + CreatedAt UnixMillis + Href string + ID string + Read bool + RequiresAck bool + Severity NotificationSeverity + Title string + type NotificationList struct + Notifications []*Notification + Unread int64 + type NotificationSeverity string + const NotificationSeverityError + const NotificationSeverityInfo + const NotificationSeveritySuccess + const NotificationSeverityWarning + type Notifications struct + func (n *Notifications) List(ctx context.Context) (*NotificationList, error) + func (n *Notifications) MarkRead(ctx context.Context, p MarkReadParams) (*NotificationsRead, error) + type NotificationsRead struct + Read int64 + type OffsetMeta struct + Limit int64 + Offset int64 + Total int64 + type Option func(*config) + func WithAPIKey(key string) Option + func WithApp(name string) Option + func WithBaseURL(url string) Option + func WithDeprecationHandler(fn func(DeprecationNotice)) Option + func WithHTTPClient(hc *http.Client) Option + func WithMaxRetries(n int) Option + func WithTimeout(d time.Duration) Option + type Org struct + CreatedAt UnixMillis + ID string + Name string + Role MemberRole + Slug string + type OrgSettings struct + BillingEmailsEnabled bool + DefaultRegion Region + ProductAnalyticsEnabled bool + RegionPinned bool + type Orgs struct + Invitations *Invitations + Members *Members + func (o *Orgs) Create(ctx context.Context, p CreateOrgParams) (*Org, error) + func (o *Orgs) Current(ctx context.Context) (*CurrentOrg, error) + func (o *Orgs) Delete(ctx context.Context) error + func (o *Orgs) GetSettings(ctx context.Context) (*OrgSettings, error) + func (o *Orgs) List(ctx context.Context) ([]*Org, error) + func (o *Orgs) Update(ctx context.Context, p UpdateOrgParams) (*Org, error) + func (o *Orgs) UpdateSettings(ctx context.Context, p UpdateOrgSettingsParams) (*OrgSettings, error) + type OutputCategory string + const OutputCategoryAudio + const OutputCategoryCaptions + const OutputCategoryImage + const OutputCategoryJSON + const OutputCategoryRaw + const OutputCategoryVideo + type OutputFile struct + Duration time.Duration + Format string + Height int + Path string + SHA256 string + Seed int64 + Size int64 + Type FileType + URL string + Width int + type Page struct + Jobs []*Job + Total int + type PageMeta struct + Limit int64 + Page int64 + Pages int64 + Total int64 + type PageParams struct + Limit int + Page int + type PaymentMethod struct + Brand string + ExpMonth *int64 + ExpYear *int64 + ID string + IsDefault bool + Last4 string + Type string + Wallet string + type Plan struct + Name string + Slug PlanSlug + type PlanChange struct + Plan PlanSlug + type PlanCheckout struct + Changed *PlanChange + Checkout *Checkout + Kind PlanCheckoutKind + func (p *PlanCheckout) UnmarshalJSON(b []byte) error + type PlanCheckoutKind string + const PlanCheckoutKindChanged + const PlanCheckoutKindCheckout + type PlanSlug string + const PlanFree + const PlanPro + const PlanStudio + type PrepareAWSStorageParams struct + Access StorageAccess + Bucket string + CreateBucket *bool + ID string + PublicBaseURL string + Region string + type PreparedAWSStorage struct + Access StorageAccess + AccountID string + Audience string + Auth StorageAuth + Bucket string + Checks []StorageCheck + ConditionalWrites bool + CreatedAt UnixMillis + DefaultDestination bool + DeliverySummary *StorageConnectionDeliverySummary + Endpoint string + ExpiresOn int64 + ID string + Issuer string + Jurisdiction R2Jurisdiction + OnConflict StorageOnConflict + PathStyle bool + PathTemplate string + Pending bool + Problem *StorageConnectionProblem + ProjectRef string + Provider StorageProvider + PublicBaseURL string + QuickCreateURL string + Region string + Subject string + Terraform string + TrustPolicy string + UpdatedAt UnixMillis + type Problem struct + Message string + Path string + UpgradeTo PlanSlug + type R2Jurisdiction string + const R2JurisdictionEu + const R2JurisdictionFedramp + const R2JurisdictionUs + type Region string + const RegionAuto + const RegionEuCentral1 + const RegionUsEast1 + type RetriedDelivery struct + EndpointID string + Event WebhookEvent + ID string + Status WebhookDeliveryStatus + type S3BucketLookup struct + Region string + State S3BucketLookupState + type S3BucketLookupState string + const S3BucketLookupStateFound + const S3BucketLookupStateFree + const S3BucketLookupStateUnknown + type SchemaField struct + Advanced bool + Default json.RawMessage + Description string + Example json.RawMessage + Key string + Label string + Max *float64 + MaxLength *int64 + Min *float64 + MinLength *int64 + Multiple bool + Name string + Nullable bool + Options []SchemaOption + Required bool + ShowWhen *ShowWhen + Type FieldType + URL bool + type SchemaInputs struct + Fields []SchemaField + Variadic bool + type SchemaOption struct + Label string + Value string + type ShowWhen struct + Equals []string + Field string + type StatsParams struct + Window StatsWindow + type StatsWindow string + const StatsWindowAll + const StatsWindowDay + const StatsWindowMonth + const StatsWindowQuarter + const StatsWindowWeek + const StatsWindowYear + type StepStatus string + const StepComplete + const StepError + const StepPending + const StepRunning + const StepSkipped + type Storage struct + func (s *Storage) Create(ctx context.Context, p CreateStorageParams) (*StorageConnection, error) + func (s *Storage) Delete(ctx context.Context, id string) error + func (s *Storage) FinishSupabase(ctx context.Context, p FinishSupabaseParams) (*StorageConnection, error) + func (s *Storage) Get(ctx context.Context, id string) (*StorageConnection, error) + func (s *Storage) List(ctx context.Context) (*StorageList, error) + func (s *Storage) ListAccountBuckets(ctx context.Context, p AccountBucketsParams) ([]string, error) + func (s *Storage) ListObjects(ctx context.Context, id string, p ListObjectsParams) (*StorageObjects, error) + func (s *Storage) ListSupabaseBuckets(ctx context.Context, state, projectRef string) (*SupabaseBuckets, error) + func (s *Storage) ListSupabaseProjects(ctx context.Context, state string) (*SupabaseProjects, error) + func (s *Storage) LookUpS3Bucket(ctx context.Context, name string) (*S3BucketLookup, error) + func (s *Storage) PrepareAWS(ctx context.Context, p PrepareAWSStorageParams) (*PreparedAWSStorage, error) + func (s *Storage) StartSupabase(ctx context.Context) (*SupabaseSignIn, error) + func (s *Storage) Stats(ctx context.Context, id string) (*StorageStats, error) + func (s *Storage) Test(ctx context.Context, id string) (*StorageTestResult, error) + func (s *Storage) Update(ctx context.Context, id string, p UpdateStorageParams) (*StorageConnection, error) + type StorageAWSRole struct + RoleARN string + func (v StorageAWSRole) MarshalJSON() ([]byte, error) + type StorageAccess string + const StorageAccessDeliver + const StorageAccessRead + type StorageAuth string + const StorageAuthRole + type StorageCheck struct + Message string + Name StorageCheckName + Reason StorageDeliveryReason + Status StorageCheckStatus + type StorageCheckName string + const StorageCheckNameDelete + const StorageCheckNameList + const StorageCheckNameRead + const StorageCheckNameWrite + type StorageCheckStatus string + const StorageCheckStatusFailed + const StorageCheckStatusPassed + const StorageCheckStatusSkipped + type StorageCloudflareToken struct + Token string + func (v StorageCloudflareToken) MarshalJSON() ([]byte, error) + type StorageConnection struct + Access StorageAccess + AccountID string + Auth StorageAuth + Bucket string + Checks []StorageCheck + ConditionalWrites bool + CreatedAt UnixMillis + DefaultDestination bool + DeliverySummary *StorageConnectionDeliverySummary + Endpoint string + ExpiresOn int64 + ID string + Jurisdiction R2Jurisdiction + OnConflict StorageOnConflict + PathStyle bool + PathTemplate string + Pending bool + Problem *StorageConnectionProblem + ProjectRef string + Provider StorageProvider + PublicBaseURL string + Region string + UpdatedAt UnixMillis + type StorageConnectionDeliverySummary struct + BytesLast30d int64 + JobsLast30d int64 + LastAt UnixMillis + LastReason *StorageDeliveryReason + LastStatus *StorageDeliveryStatus + type StorageConnectionProblem struct + At int64 + Message string + type StorageDeliveryReason string + const StorageDeliveryReasonAlreadyExists + const StorageDeliveryReasonBucketNotFound + const StorageDeliveryReasonDestinationDenied + const StorageDeliveryReasonDestinationUnavailable + const StorageDeliveryReasonNotDeliverable + const StorageDeliveryReasonObjectTooLarge + const StorageDeliveryReasonSignatureMismatch + type StorageDeliveryStatus string + const StorageDeliveryStatusDelivered + const StorageDeliveryStatusFailed + type StorageKeys struct + AccessKeyID string + SecretAccessKey string + func (v StorageKeys) MarshalJSON() ([]byte, error) + type StorageList struct + Connections []*StorageConnection + Total int64 + type StorageObject struct + Key string + LastModified UnixMillis + Size int64 + type StorageObjects struct + Cursor string + Folders []string + Objects []StorageObject + type StorageOnConflict string + const StorageOnConflictReplace + const StorageOnConflictSuffix + type StorageProvider string + const StorageProviderR2 + const StorageProviderS3 + const StorageProviderS3Compatible + const StorageProviderSupabase + type StorageStats struct + Deliveries *StorageStatsDeliveries + MeasuredFrom string + RoundTripMs *int64 + Throughput *StorageStatsThroughput + WindowDays int64 + Written *StorageStatsWritten + type StorageStatsDeliveries struct + Daily []StorageStatsDeliveriesDailyItem + Delivered int64 + Failed int64 + Pending int64 + type StorageStatsDeliveriesDailyItem struct + Date string + Delivered int64 + Failed int64 + Reason *StorageDeliveryReason + type StorageStatsThroughput struct + MaxBytesPerSec int64 + MedianBytesPerSec int64 + MinBytesPerSec int64 + Samples int64 + type StorageStatsWritten struct + Bytes int64 + Files int64 + type StorageSupabaseSession struct + AnonKey string + SessionToken string + func (v StorageSupabaseSession) MarshalJSON() ([]byte, error) + type StorageTestResult struct + Checks []StorageCheck + OK bool + type SubmitError struct + Err error + IdempotencyKey string + func (e *SubmitError) Error() string + func (e *SubmitError) Unwrap() error + type SupabaseBucket struct + Name string + Public bool + type SupabaseBuckets struct + Buckets []SupabaseBucket + ProjectRef string + State string + type SupabaseProject struct + Name string + Ref string + Region string + type SupabaseProjects struct + Projects []SupabaseProject + State string + type SupabaseSignIn struct + State string + URL string + type TemplatesParams struct + Limit int + Offset int + type Transaction struct + Amount float64 + BalanceAfter float64 + BonusAmount float64 + CreatedAt UnixMillis + ID string + JobID string + JobType JobType + PaidAmount float64 + Type string + type TransactionPage struct + Meta PageMeta + Transactions []*Transaction + type URL string + type URLs []string + type UnixMillis int64 + func (u UnixMillis) Time() time.Time + type UpdateAPIKeyParams struct + Enabled *bool + Name string + type UpdateOrgParams struct + Name string + Slug string + type UpdateOrgSettingsParams struct + BillingEmailsEnabled *bool + DefaultRegion Region + ProductAnalyticsEnabled *bool + RegionPinned *bool + type UpdateStorageCredentials interface + type UpdateStorageParams struct + Credentials UpdateStorageCredentials + DefaultDestination *bool + OnConflict StorageOnConflict + PathTemplate string + PublicBaseURL string + type UpdateWebhookParams struct + Active *bool + Name string + SubscribedEvents []WebhookEvent + URL string + type UploadParams struct + Checksum string + Concurrency int + ContentType string + Filename string + OnProgress func(UploadProgress) + Persist bool + type UploadProgress struct + Loaded int64 + Total int64 + type Uploads struct + func (u *Uploads) Create(ctx context.Context, file io.ReaderAt, size int64, p UploadParams) (*Asset, error) + type Usage struct + ByJobType map[string]UsageByJobTypeValue + Daily []UsageDailyItem + TotalAmountCharged int64 + TotalAmountFormatted string + TotalComputeSeconds int64 + TotalJobs int64 + type UsageByClientParams struct + Days int + type UsageByJobTypeValue struct + AmountCharged int64 + AmountFormatted string + ComputeSeconds int64 + JobCount int64 + type UsageDailyItem struct + AmountCharged int64 + ComputeSeconds int64 + Date string + JobCount int64 + JobType JobType + type UsageParams struct + End time.Time + Start time.Time + type WaitOptions struct + Interval time.Duration + MaxInterval time.Duration + OnProgress func(*Job) + Timeout time.Duration + type WaitTimeoutError struct + Job *Job + JobID string + LastStatus JobStatus + Waited time.Duration + func (e *WaitTimeoutError) Error() string + type WebhookDelivery struct + Attempts int64 + CreatedAt UnixMillis + EndpointID string + EndpointName string + Event WebhookEvent + ID string + JobID string + LastAttemptAt UnixMillis + Payload string + ResponseBody string + Status WebhookDeliveryStatus + StatusCode *int64 + type WebhookDeliveryStatus string + const WebhookDeliveryStatusCancelled + const WebhookDeliveryStatusDelivered + const WebhookDeliveryStatusFailed + const WebhookDeliveryStatusPending + type WebhookEndpoint struct + Active bool + ConsecutiveFailures int64 + CreatedAt UnixMillis + DisabledReason string + ID string + Name string + RotationActive bool + SecretExpiresAt UnixMillis + SigningSecret string + SubscribedEvents []WebhookEvent + URL string + UpdatedAt UnixMillis + type WebhookEndpointList struct + Endpoints []*WebhookEndpoint + Total int64 + type WebhookEvent string + type WebhookTestResult struct + Delivered bool + ResponseTimeMs int64 + StatusCode *int64 + type Webhooks struct + func (w *Webhooks) Create(ctx context.Context, p CreateWebhookParams) (*WebhookEndpoint, error) + func (w *Webhooks) Delete(ctx context.Context, id string) error + func (w *Webhooks) Get(ctx context.Context, id string) (*WebhookEndpoint, error) + func (w *Webhooks) List(ctx context.Context) (*WebhookEndpointList, error) + func (w *Webhooks) ListDeliveries(ctx context.Context, p ListDeliveriesParams) (*DeliveryPage, error) + func (w *Webhooks) RetryDelivery(ctx context.Context, id string) (*RetriedDelivery, error) + func (w *Webhooks) RotateSecret(ctx context.Context, id string) (*WebhookEndpoint, error) + func (w *Webhooks) Test(ctx context.Context, id string) (*WebhookTestResult, error) + func (w *Webhooks) Update(ctx context.Context, id string, p UpdateWebhookParams) (*WebhookEndpoint, error)