| Case | SwiftAI.VideoGenerationOperationError.incompleteAfterWebhook | case incompleteAfterWebhook | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Case | SwiftAI.VideoGenerationOperationError.providerFailed(_:) | case providerFailed(String) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Case | SwiftAI.VideoGenerationOperationError.timedOut(milliseconds:) | case timedOut(milliseconds: Int) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Case | SwiftAI.VideoGenerationOperationStatusResult.completed(_:) | case completed(VideoGenerationResult) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Case | SwiftAI.VideoGenerationOperationStatusResult.failed(message:providerMetadata:responseMetadata:) | case failed(message: String, providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Case | SwiftAI.VideoGenerationOperationStatusResult.pending(warnings:providerMetadata:responseMetadata:) | case pending(warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Case | SwiftAIProvider.VideoFrameType.firstFrame | case firstFrame | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Case | SwiftAIProvider.VideoFrameType.lastFrame | case lastFrame | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Enumeration | SwiftAI.VideoGenerationOperationError | enum VideoGenerationOperationError | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Enumeration | SwiftAI.VideoGenerationOperationStatusResult | enum VideoGenerationOperationStatusResult | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Enumeration | SwiftAIProvider.VideoFrameType | enum VideoFrameType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Initializer | SwiftAI.init(headers:body:) | init(headers: [String : String] = [:], body: JSONValue) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Initializer | SwiftAI.init(intervalMilliseconds:timeoutMilliseconds:delay:) | init(intervalMilliseconds: Int = 5_000, timeoutMilliseconds: Int = 600_000, delay: @escaping VideoGenerationDelay = { milliseconds, abortSignal in try await SwiftAIProvider.delay(milliseconds, abortSignal: abortSignal) }) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Initializer | SwiftAI.init(operation:headers:abortSignal:) | init(operation: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Initializer | SwiftAI.init(operation:warnings:providerMetadata:responseMetadata:) | init(operation: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Initializer | SwiftAI.init(request:webhookURL:) | init(request: VideoGenerationRequest, webhookURL: String? = nil) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Initializer | SwiftAI.init(url:receive:) | init(url: String, receive: @escaping @Sendable (AIAbortSignal?) async throws -> VideoGenerationOperationWebhook) | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Initializer | SwiftAIProvider.init(image:frameType:) | init(image: ImageInputFile, frameType: VideoFrameType) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Initializer | SwiftAIProvider.init(index:score:document:) | init(index: Int, score: Double, document: String? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Initializer | SwiftAIProvider.init(prompt:aspectRatio:durationSeconds:image:frameImages:inputReferences:resolution:fps:generateAudio:seed:count:providerOptions:extraBody:headers:abortSignal:) | init(prompt: String, aspectRatio: String? = nil, durationSeconds: Double? = nil, image: ImageInputFile? = nil, frameImages: [VideoFrameImage] = [], inputReferences: [ImageInputFile] = [], resolution: String? = nil, fps: Double? = nil, generateAudio: Bool? = nil, seed: Int? = nil, count: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Initializer | SwiftAIProvider.init(query:documents:topK:providerOptions:extraBody:headers:abortSignal:) | init(query: String, documents: [String], topK: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Initializer | SwiftAIProvider.init(query:documents:topK:providerOptions:extraBody:headers:abortSignal:) | init(query: String, documents: [[String : JSONValue]], topK: Int? = nil, providerOptions: [String : JSONValue] = [:], extraBody: [String : JSONValue] = [:], headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Initializer | SwiftAIProvider.init(results:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(results: [RerankedDocument], rawValue: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Initializer | SwiftAIProvider.init(urls:base64Videos:operationID:mediaType:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:) | init(urls: [String], base64Videos: [String] = [], operationID: String? = nil, mediaType: String? = nil, rawValue: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata()) | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Method | SwiftAI.handleVideoGenerationWebhookOption(_:) | func handleVideoGenerationWebhookOption(_ factory: @escaping VideoGenerationWebhookFactory) async throws -> VideoGenerationWebhookRegistration | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Method | SwiftAI.handleVideoGenerationWebhookOption(_:) | func handleVideoGenerationWebhookOption(_ factory: @escaping VideoGenerationWebhookFactory) async throws -> VideoGenerationWebhookRegistration | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Method | SwiftAI.receive(abortSignal:) | func receive(abortSignal: AIAbortSignal? = nil) async throws -> VideoGenerationOperationWebhook | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Method | SwiftAI.startVideoGeneration(_:) | func startVideoGeneration(_ request: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResult | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Method | SwiftAI.videoGenerationStatus(_:) | func videoGenerationStatus(_ request: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResult | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.body | var body: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.delay | var delay: VideoGenerationDelay | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.description | var description: String { get } | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.intervalMilliseconds | var intervalMilliseconds: Int | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.maxVideosPerCall | var maxVideosPerCall: Int { get } | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.maxVideosPerCall | var maxVideosPerCall: Int { get } | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.operation | var operation: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.operation | var operation: JSONValue | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.request | var request: VideoGenerationRequest | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.supportsVideoGenerationWebhooks | var supportsVideoGenerationWebhooks: Bool { get } | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.supportsVideoGenerationWebhooks | var supportsVideoGenerationWebhooks: Bool { get } | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.timeoutMilliseconds | var timeoutMilliseconds: Int | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.url | var url: String | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAI.webhookURL | var webhookURL: String? | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.abortSignal | var abortSignal: AIAbortSignal? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.aspectRatio | var aspectRatio: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.base64Videos | var base64Videos: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.count | var count: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.document | var document: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.documentObjects | var documentObjects: [[String : JSONValue]]? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.documents | var documents: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.documentsJSON | var documentsJSON: [JSONValue] { get } | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.durationSeconds | var durationSeconds: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.extraBody | var extraBody: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.fps | var fps: Double? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.frameImages | var frameImages: [VideoFrameImage] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.frameType | var frameType: VideoFrameType | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.generateAudio | var generateAudio: Bool? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.headers | var headers: [String : String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.image | var image: ImageInputFile | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.image | var image: ImageInputFile? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.index | var index: Int | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.inputReferences | var inputReferences: [ImageInputFile] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.mediaType | var mediaType: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.operationID | var operationID: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.prompt | var prompt: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.providerMetadata | var providerMetadata: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.providerOptions | var providerOptions: [String : JSONValue] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.query | var query: String | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.rawValue | var rawValue: JSONValue | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.requestMetadata | var requestMetadata: AIRequestMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.resolution | var resolution: String? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.responseMetadata | var responseMetadata: AIResponseMetadata | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.results | var results: [RerankedDocument] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.score | var score: Double | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.seed | var seed: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.topK | var topK: Int? | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.urls | var urls: [String] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Instance Property | SwiftAIProvider.warnings | var warnings: [AIWarning] | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Protocol | SwiftAI.AsyncVideoModel | protocol AsyncVideoModel : VideoModel | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Structure | SwiftAI.VideoGenerationOperationStartRequest | struct VideoGenerationOperationStartRequest | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Structure | SwiftAI.VideoGenerationOperationStartResult | struct VideoGenerationOperationStartResult | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Structure | SwiftAI.VideoGenerationOperationStatusRequest | struct VideoGenerationOperationStatusRequest | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Structure | SwiftAI.VideoGenerationOperationWebhook | struct VideoGenerationOperationWebhook | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Structure | SwiftAI.VideoGenerationPollOptions | struct VideoGenerationPollOptions | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Structure | SwiftAI.VideoGenerationWebhookRegistration | struct VideoGenerationWebhookRegistration | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Structure | SwiftAIProvider.RerankedDocument | struct RerankedDocument | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Structure | SwiftAIProvider.RerankingRequest | struct RerankingRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Structure | SwiftAIProvider.RerankingResult | struct RerankingResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Structure | SwiftAIProvider.VideoFrameImage | struct VideoFrameImage | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Structure | SwiftAIProvider.VideoGenerationRequest | struct VideoGenerationRequest | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Structure | SwiftAIProvider.VideoGenerationResult | struct VideoGenerationResult | Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift |
| Type Alias | SwiftAI.VideoGenerationDelay | typealias VideoGenerationDelay = @Sendable (Int, AIAbortSignal?) async throws -> Void | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Type Alias | SwiftAI.VideoGenerationWebhookFactory | typealias VideoGenerationWebhookFactory = @Sendable () async throws -> VideoGenerationWebhookRegistration | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Type Method | SwiftAI.getVideoStatus(model:operation:headers:abortSignal:retryPolicy:) | static func getVideoStatus(model: any VideoModel, operation: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> VideoGenerationOperationStatusResult | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |
| Type Method | SwiftAI.startVideo(model:request:webhookURL:retryPolicy:) | static func startVideo(model: any VideoModel, request: VideoGenerationRequest, webhookURL: String? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> VideoGenerationOperationStartResult | Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift |