Skip to content

Video and reranking

Symbol kindCount
Case8
Enumeration3
Initializer13
Instance Method5
Instance Property64
Protocol1
Structure12
Type Alias2
Type Method2
KindSymbolDeclarationSource
CaseSwiftAI.VideoGenerationOperationError.incompleteAfterWebhookcase incompleteAfterWebhookPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
CaseSwiftAI.VideoGenerationOperationError.providerFailed(_:)case providerFailed(String)Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
CaseSwiftAI.VideoGenerationOperationError.timedOut(milliseconds:)case timedOut(milliseconds: Int)Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
CaseSwiftAI.VideoGenerationOperationStatusResult.completed(_:)case completed(VideoGenerationResult)Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
CaseSwiftAI.VideoGenerationOperationStatusResult.failed(message:providerMetadata:responseMetadata:)case failed(message: String, providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata())Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
CaseSwiftAI.VideoGenerationOperationStatusResult.pending(warnings:providerMetadata:responseMetadata:)case pending(warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata())Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
CaseSwiftAIProvider.VideoFrameType.firstFramecase firstFramePackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
CaseSwiftAIProvider.VideoFrameType.lastFramecase lastFramePackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
EnumerationSwiftAI.VideoGenerationOperationErrorenum VideoGenerationOperationErrorPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
EnumerationSwiftAI.VideoGenerationOperationStatusResultenum VideoGenerationOperationStatusResultPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
EnumerationSwiftAIProvider.VideoFrameTypeenum VideoFrameTypePackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
InitializerSwiftAI.init(headers:body:)init(headers: [String : String] = [:], body: JSONValue)Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
InitializerSwiftAI.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
InitializerSwiftAI.init(operation:headers:abortSignal:)init(operation: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil)Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
InitializerSwiftAI.init(operation:warnings:providerMetadata:responseMetadata:)init(operation: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata())Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
InitializerSwiftAI.init(request:webhookURL:)init(request: VideoGenerationRequest, webhookURL: String? = nil)Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
InitializerSwiftAI.init(url:receive:)init(url: String, receive: @escaping @Sendable (AIAbortSignal?) async throws -> VideoGenerationOperationWebhook)Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
InitializerSwiftAIProvider.init(image:frameType:)init(image: ImageInputFile, frameType: VideoFrameType)Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
InitializerSwiftAIProvider.init(index:score:document:)init(index: Int, score: Double, document: String? = nil)Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
InitializerSwiftAIProvider.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
InitializerSwiftAIProvider.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
InitializerSwiftAIProvider.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
InitializerSwiftAIProvider.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
InitializerSwiftAIProvider.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 MethodSwiftAI.handleVideoGenerationWebhookOption(_:)func handleVideoGenerationWebhookOption(_ factory: @escaping VideoGenerationWebhookFactory) async throws -> VideoGenerationWebhookRegistrationPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance MethodSwiftAI.handleVideoGenerationWebhookOption(_:)func handleVideoGenerationWebhookOption(_ factory: @escaping VideoGenerationWebhookFactory) async throws -> VideoGenerationWebhookRegistrationPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance MethodSwiftAI.receive(abortSignal:)func receive(abortSignal: AIAbortSignal? = nil) async throws -> VideoGenerationOperationWebhookPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance MethodSwiftAI.startVideoGeneration(_:)func startVideoGeneration(_ request: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResultPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance MethodSwiftAI.videoGenerationStatus(_:)func videoGenerationStatus(_ request: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResultPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.abortSignalvar abortSignal: AIAbortSignal?Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.bodyvar body: JSONValuePackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.delayvar delay: VideoGenerationDelayPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.descriptionvar description: String { get }Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.headersvar headers: [String : String]Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.headersvar headers: [String : String]Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.intervalMillisecondsvar intervalMilliseconds: IntPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.maxVideosPerCallvar maxVideosPerCall: Int { get }Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.maxVideosPerCallvar maxVideosPerCall: Int { get }Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.operationvar operation: JSONValuePackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.operationvar operation: JSONValuePackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.providerMetadatavar providerMetadata: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.requestvar request: VideoGenerationRequestPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.responseMetadatavar responseMetadata: AIResponseMetadataPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.supportsVideoGenerationWebhooksvar supportsVideoGenerationWebhooks: Bool { get }Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.supportsVideoGenerationWebhooksvar supportsVideoGenerationWebhooks: Bool { get }Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.timeoutMillisecondsvar timeoutMilliseconds: IntPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.urlvar url: StringPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.warningsvar warnings: [AIWarning]Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAI.webhookURLvar webhookURL: String?Packages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Instance PropertySwiftAIProvider.abortSignalvar abortSignal: AIAbortSignal?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.abortSignalvar abortSignal: AIAbortSignal?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.aspectRatiovar aspectRatio: String?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.base64Videosvar base64Videos: [String]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.countvar count: Int?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.documentvar document: String?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.documentObjectsvar documentObjects: [[String : JSONValue]]?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.documentsvar documents: [String]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.documentsJSONvar documentsJSON: [JSONValue] { get }Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.durationSecondsvar durationSeconds: Double?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.extraBodyvar extraBody: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.extraBodyvar extraBody: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.fpsvar fps: Double?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.frameImagesvar frameImages: [VideoFrameImage]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.frameTypevar frameType: VideoFrameTypePackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.generateAudiovar generateAudio: Bool?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.headersvar headers: [String : String]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.headersvar headers: [String : String]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.imagevar image: ImageInputFilePackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.imagevar image: ImageInputFile?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.indexvar index: IntPackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.inputReferencesvar inputReferences: [ImageInputFile]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.mediaTypevar mediaType: String?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.operationIDvar operationID: String?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.promptvar prompt: StringPackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.providerMetadatavar providerMetadata: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.providerMetadatavar providerMetadata: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.providerOptionsvar providerOptions: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.providerOptionsvar providerOptions: [String : JSONValue]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.queryvar query: StringPackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.rawValuevar rawValue: JSONValuePackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.rawValuevar rawValue: JSONValuePackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.requestMetadatavar requestMetadata: AIRequestMetadataPackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.requestMetadatavar requestMetadata: AIRequestMetadataPackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.resolutionvar resolution: String?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.responseMetadatavar responseMetadata: AIResponseMetadataPackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.responseMetadatavar responseMetadata: AIResponseMetadataPackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.resultsvar results: [RerankedDocument]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.scorevar score: DoublePackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.seedvar seed: Int?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.topKvar topK: Int?Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.urlsvar urls: [String]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.warningsvar warnings: [AIWarning]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Instance PropertySwiftAIProvider.warningsvar warnings: [AIWarning]Packages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
ProtocolSwiftAI.AsyncVideoModelprotocol AsyncVideoModel : VideoModelPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
StructureSwiftAI.VideoGenerationOperationStartRequeststruct VideoGenerationOperationStartRequestPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
StructureSwiftAI.VideoGenerationOperationStartResultstruct VideoGenerationOperationStartResultPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
StructureSwiftAI.VideoGenerationOperationStatusRequeststruct VideoGenerationOperationStatusRequestPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
StructureSwiftAI.VideoGenerationOperationWebhookstruct VideoGenerationOperationWebhookPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
StructureSwiftAI.VideoGenerationPollOptionsstruct VideoGenerationPollOptionsPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
StructureSwiftAI.VideoGenerationWebhookRegistrationstruct VideoGenerationWebhookRegistrationPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
StructureSwiftAIProvider.RerankedDocumentstruct RerankedDocumentPackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
StructureSwiftAIProvider.RerankingRequeststruct RerankingRequestPackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
StructureSwiftAIProvider.RerankingResultstruct RerankingResultPackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
StructureSwiftAIProvider.VideoFrameImagestruct VideoFrameImagePackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
StructureSwiftAIProvider.VideoGenerationRequeststruct VideoGenerationRequestPackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
StructureSwiftAIProvider.VideoGenerationResultstruct VideoGenerationResultPackages/swift-ai-core/Sources/SwiftAIProvider/CoreVideoRerankingResults.swift
Type AliasSwiftAI.VideoGenerationDelaytypealias VideoGenerationDelay = @Sendable (Int, AIAbortSignal?) async throws -> VoidPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Type AliasSwiftAI.VideoGenerationWebhookFactorytypealias VideoGenerationWebhookFactory = @Sendable () async throws -> VideoGenerationWebhookRegistrationPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Type MethodSwiftAI.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 -> VideoGenerationOperationStatusResultPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift
Type MethodSwiftAI.startVideo(model:request:webhookURL:retryPolicy:)static func startVideo(model: any VideoModel, request: VideoGenerationRequest, webhookURL: String? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> VideoGenerationOperationStartResultPackages/swift-ai-core/Sources/SwiftAI/VideoGenerationOperations.swift