Versions in this module Expand all Collapse all v1 v1.6.1 Mar 1, 2026 v1.6.0 Mar 1, 2026 v1.5.0 Mar 1, 2026 v1.4.0 Mar 1, 2026 v1.3.0 Mar 1, 2026 Changes in this version + type AdminBatchImportItemResult struct + Action string + Email string + Error string + Token string + type AdminBatchImportRequest struct + GroupID *int64 + Tokens []string + type AdminBatchImportResult struct + Created int + Details []AdminBatchImportItemResult + Failed int + Total int + Updated int v1.2.0 Feb 28, 2026 Changes in this version + const AccountStatusActive + const AccountStatusQuotaExhausted + const AccountStatusTokenExpired + const CharacterStatusFailed + const CharacterStatusProcessing + const CharacterStatusReady + const SettingCreditSyncInterval + const SettingProxyURL + const SettingSubscriptionSyncInterval + const SettingTokenRefreshInterval + const TaskStatusCompleted + const TaskStatusFailed + const TaskStatusInProgress + const TaskStatusQueued + func ExtractEmailFromJWT(token string) string + func MaskToken(token string) string + func MaskURL(rawURL string) string + func SizeToResolution(size, orientation string) string + type AdminAPIKeyRequest struct + Enabled *bool + GroupID *int64 + Key string + Name string + type AdminAPIKeyResponse struct + GroupName string + KeyHint string + type AdminAccountRequest struct + AccessToken string + Enabled *bool + GroupID *int64 + Name string + RefreshToken string + type AdminAccountResponse struct + ATHint string + GroupName string + RTHint string + type AdminCharacterResponse struct + AccountEmail string + type AdminGroupRequest struct + Description string + Enabled *bool + Name string + type CharacterCreateRequest struct + DisplayName string + Username string + VideoURL string + type CharacterResponse struct + CharacterID string + CreatedAt int64 + DisplayName string + Error *TaskErrorInfo + ID string + ProfileURL string + Status string + Username string + type DashboardStats struct + ActiveAccounts int64 + CompletedTasks int64 + ExhaustedAccounts int64 + ExpiredAccounts int64 + FailedCharacters int64 + FailedTasks int64 + PendingTasks int64 + ProcessingCharacters int64 + ReadyCharacters int64 + TotalAccounts int64 + TotalCharacters int64 + TotalTasks int64 + type EnhancePromptRequest struct + Duration int + ExpansionLevel string + Prompt string + type EnhancePromptResponse struct + EnhancedPrompt string + OriginalPrompt string + type ImageSubmitRequest struct + Height int + InputReference string + Prompt string + Width int + type ImageTaskResponse struct + CreatedAt int64 + Error *TaskErrorInfo + Height int + ID string + ImageURL string + Object string + Progress int + Status string + Width int + type ModelParams struct + Duration int + Model string + NFrames int + Orientation string + Size string + func ParseModelName(name string) (*ModelParams, error) + type PostCreateRequest struct + TaskID string + type PostResponse struct + PostID string + type RemixSubmitRequest struct + Model string + Prompt string + RemixTarget string + Style string + type SoraAPIKey struct + CreatedAt time.Time + Enabled bool + GroupID *int64 + ID int64 + Key string + LastUsedAt *time.Time + Name string + UpdatedAt time.Time + UsageCount int64 + func (SoraAPIKey) TableName() string + type SoraAccount struct + AccessToken string + CreatedAt time.Time + Email string + Enabled bool + GroupID *int64 + ID int64 + LastError string + LastSyncAt *time.Time + LastUsedAt *time.Time + Name string + PlanExpiresAt *time.Time + PlanTitle string + RateLimitReached bool + RateLimitResetsAt *time.Time + RefreshToken string + RemainingCount int + Status string + TokenExpiresAt *time.Time + UpdatedAt time.Time + func (SoraAccount) TableName() string + type SoraAccountGroup struct + CreatedAt time.Time + Description string + Enabled bool + ID int64 + Name string + UpdatedAt time.Time + func (SoraAccountGroup) TableName() string + type SoraCharacter struct + AccountID int64 + CameoID string + CharacterID string + CompletedAt *time.Time + CreatedAt time.Time + DisplayName string + ErrorMessage string + ID string + IsPublic bool + ProfileImage []byte + ProfileURL string + Status string + UpdatedAt time.Time + Username string + func (SoraCharacter) TableName() string + type SoraSetting struct + Key string + UpdatedAt time.Time + Value string + func (SoraSetting) TableName() string + type SoraTask struct + APIKeyID int64 + AccountID int64 + CompletedAt *time.Time + CreatedAt time.Time + DownloadURL string + ErrorMessage string + ID string + ImageURL string + Model string + Progress int + Prompt string + SoraTaskID string + Status string + Type string + UpdatedAt time.Time + func (SoraTask) TableName() string + type StoryboardSubmitRequest struct + InputReference string + Model string + Prompt string + Style string + type TaskErrorInfo struct + Message string + type VideoSubmitRequest struct + Duration int + InputReference string + Model string + Prompt string + Style string + type VideoTaskResponse struct + CreatedAt int64 + Error *TaskErrorInfo + ID string + Model string + Object string + Progress int + Size string + Status string + type WatermarkFreeRequest struct + VideoID string + type WatermarkFreeResponse struct + URL string