Skip to content

Video and reranking

Symbol kindCount
Case8
Enumeration3
Initializer13
Instance Method5
Instance Property63
Protocol1
Structure12
Type Alias2
Type Method2
KindSymbolDeclarationSource
CaseVideoFrameType.firstFramecase firstFrameSources/SwiftAISDK/CoreVideoRerankingResults.swift
CaseVideoFrameType.lastFramecase lastFrameSources/SwiftAISDK/CoreVideoRerankingResults.swift
CaseVideoGenerationOperationError.incompleteAfterWebhookcase incompleteAfterWebhookSources/SwiftAISDK/VideoGenerationOperations.swift
CaseVideoGenerationOperationError.providerFailed(_:)case providerFailed(String)Sources/SwiftAISDK/VideoGenerationOperations.swift
CaseVideoGenerationOperationError.timedOut(milliseconds:)case timedOut(milliseconds: Int)Sources/SwiftAISDK/VideoGenerationOperations.swift
CaseVideoGenerationOperationStatusResult.completed(_:)case completed(VideoGenerationResult)Sources/SwiftAISDK/VideoGenerationOperations.swift
CaseVideoGenerationOperationStatusResult.failed(message:providerMetadata:responseMetadata:)case failed(message: String, providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata())Sources/SwiftAISDK/VideoGenerationOperations.swift
CaseVideoGenerationOperationStatusResult.pending(warnings:providerMetadata:responseMetadata:)case pending(warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata())Sources/SwiftAISDK/VideoGenerationOperations.swift
EnumerationVideoFrameTypeenum VideoFrameTypeSources/SwiftAISDK/CoreVideoRerankingResults.swift
EnumerationVideoGenerationOperationErrorenum VideoGenerationOperationErrorSources/SwiftAISDK/VideoGenerationOperations.swift
EnumerationVideoGenerationOperationStatusResultenum VideoGenerationOperationStatusResultSources/SwiftAISDK/VideoGenerationOperations.swift
Initializerinit(headers:body:)init(headers: [String : String] = [:], body: JSONValue)Sources/SwiftAISDK/VideoGenerationOperations.swift
Initializerinit(image:frameType:)init(image: ImageInputFile, frameType: VideoFrameType)Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Initializerinit(index:score:document:)init(index: Int, score: Double, document: String? = nil)Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Initializerinit(intervalMilliseconds:timeoutMilliseconds:delay:)init(intervalMilliseconds: Int = 5_000, timeoutMilliseconds: Int = 600_000, delay: @escaping VideoGenerationDelay = { milliseconds, abortSignal in try await SwiftAISDK.delay(milliseconds, abortSignal: abortSignal) })Sources/SwiftAISDK/VideoGenerationOperations.swift
Initializerinit(operation:headers:abortSignal:)init(operation: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil)Sources/SwiftAISDK/VideoGenerationOperations.swift
Initializerinit(operation:warnings:providerMetadata:responseMetadata:)init(operation: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], responseMetadata: AIResponseMetadata = AIResponseMetadata())Sources/SwiftAISDK/VideoGenerationOperations.swift
Initializerinit(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)Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Initializerinit(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)Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Initializerinit(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)Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Initializerinit(request:webhookURL:)init(request: VideoGenerationRequest, webhookURL: String? = nil)Sources/SwiftAISDK/VideoGenerationOperations.swift
Initializerinit(results:rawValue:warnings:providerMetadata:requestMetadata:responseMetadata:)init(results: [RerankedDocument], rawValue: JSONValue, warnings: [AIWarning] = [], providerMetadata: [String : JSONValue] = [:], requestMetadata: AIRequestMetadata = AIRequestMetadata(), responseMetadata: AIResponseMetadata = AIResponseMetadata())Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Initializerinit(url:receive:)init(url: String, receive: @escaping @Sendable (AIAbortSignal?) async throws -> VideoGenerationOperationWebhook)Sources/SwiftAISDK/VideoGenerationOperations.swift
Initializerinit(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())Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance MethodhandleVideoGenerationWebhookOption(_:)func handleVideoGenerationWebhookOption(_ factory: @escaping VideoGenerationWebhookFactory) async throws -> VideoGenerationWebhookRegistrationSources/SwiftAISDK/VideoGenerationOperations.swift
Instance MethodhandleVideoGenerationWebhookOption(_:)func handleVideoGenerationWebhookOption(_ factory: @escaping VideoGenerationWebhookFactory) async throws -> VideoGenerationWebhookRegistrationSources/SwiftAISDK/VideoGenerationOperations.swift
Instance Methodreceive(abortSignal:)func receive(abortSignal: AIAbortSignal? = nil) async throws -> VideoGenerationOperationWebhookSources/SwiftAISDK/VideoGenerationOperations.swift
Instance MethodstartVideoGeneration(_:)func startVideoGeneration(_ request: VideoGenerationOperationStartRequest) async throws -> VideoGenerationOperationStartResultSources/SwiftAISDK/VideoGenerationOperations.swift
Instance MethodvideoGenerationStatus(_:)func videoGenerationStatus(_ request: VideoGenerationOperationStatusRequest) async throws -> VideoGenerationOperationStatusResultSources/SwiftAISDK/VideoGenerationOperations.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyabortSignalvar abortSignal: AIAbortSignal?Sources/SwiftAISDK/VideoGenerationOperations.swift
Instance PropertyaspectRatiovar aspectRatio: String?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertybase64Videosvar base64Videos: [String]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertybodyvar body: JSONValueSources/SwiftAISDK/VideoGenerationOperations.swift
Instance Propertycountvar count: Int?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertydelayvar delay: VideoGenerationDelaySources/SwiftAISDK/VideoGenerationOperations.swift
Instance Propertydescriptionvar description: String { get }Sources/SwiftAISDK/VideoGenerationOperations.swift
Instance Propertydocumentvar document: String?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertydocumentObjectsvar documentObjects: [[String : JSONValue]]?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertydocumentsvar documents: [String]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertydurationSecondsvar durationSeconds: Double?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyextraBodyvar extraBody: [String : JSONValue]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyextraBodyvar extraBody: [String : JSONValue]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertyfpsvar fps: Double?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyframeImagesvar frameImages: [VideoFrameImage]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyframeTypevar frameType: VideoFrameTypeSources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertygenerateAudiovar generateAudio: Bool?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/VideoGenerationOperations.swift
Instance Propertyheadersvar headers: [String : String]Sources/SwiftAISDK/VideoGenerationOperations.swift
Instance Propertyimagevar image: ImageInputFileSources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertyimagevar image: ImageInputFile?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertyindexvar index: IntSources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyinputReferencesvar inputReferences: [ImageInputFile]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyintervalMillisecondsvar intervalMilliseconds: IntSources/SwiftAISDK/VideoGenerationOperations.swift
Instance PropertymaxVideosPerCallvar maxVideosPerCall: Int { get }Sources/SwiftAISDK/VideoGenerationOperations.swift
Instance PropertymaxVideosPerCallvar maxVideosPerCall: Int { get }Sources/SwiftAISDK/VideoGenerationOperations.swift
Instance PropertymediaTypevar mediaType: String?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertyoperationvar operation: JSONValueSources/SwiftAISDK/VideoGenerationOperations.swift
Instance Propertyoperationvar operation: JSONValueSources/SwiftAISDK/VideoGenerationOperations.swift
Instance PropertyoperationIDvar operationID: String?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertypromptvar prompt: StringSources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyproviderMetadatavar providerMetadata: [String : JSONValue]Sources/SwiftAISDK/VideoGenerationOperations.swift
Instance PropertyproviderOptionsvar providerOptions: [String : JSONValue]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyproviderOptionsvar providerOptions: [String : JSONValue]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertyqueryvar query: StringSources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyrawValuevar rawValue: JSONValueSources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertyrequestvar request: VideoGenerationRequestSources/SwiftAISDK/VideoGenerationOperations.swift
Instance PropertyrequestMetadatavar requestMetadata: AIRequestMetadataSources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyrequestMetadatavar requestMetadata: AIRequestMetadataSources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertyresolutionvar resolution: String?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyresponseMetadatavar responseMetadata: AIResponseMetadataSources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyresponseMetadatavar responseMetadata: AIResponseMetadataSources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertyresponseMetadatavar responseMetadata: AIResponseMetadataSources/SwiftAISDK/VideoGenerationOperations.swift
Instance Propertyresultsvar results: [RerankedDocument]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertyscorevar score: DoubleSources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertyseedvar seed: Int?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance PropertysupportsVideoGenerationWebhooksvar supportsVideoGenerationWebhooks: Bool { get }Sources/SwiftAISDK/VideoGenerationOperations.swift
Instance PropertysupportsVideoGenerationWebhooksvar supportsVideoGenerationWebhooks: Bool { get }Sources/SwiftAISDK/VideoGenerationOperations.swift
Instance PropertytimeoutMillisecondsvar timeoutMilliseconds: IntSources/SwiftAISDK/VideoGenerationOperations.swift
Instance PropertytopKvar topK: Int?Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertyurlvar url: StringSources/SwiftAISDK/VideoGenerationOperations.swift
Instance Propertyurlsvar urls: [String]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertywarningsvar warnings: [AIWarning]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertywarningsvar warnings: [AIWarning]Sources/SwiftAISDK/CoreVideoRerankingResults.swift
Instance Propertywarningsvar warnings: [AIWarning]Sources/SwiftAISDK/VideoGenerationOperations.swift
Instance PropertywebhookURLvar webhookURL: String?Sources/SwiftAISDK/VideoGenerationOperations.swift
ProtocolAsyncVideoModelprotocol AsyncVideoModel : VideoModelSources/SwiftAISDK/VideoGenerationOperations.swift
StructureRerankedDocumentstruct RerankedDocumentSources/SwiftAISDK/CoreVideoRerankingResults.swift
StructureRerankingRequeststruct RerankingRequestSources/SwiftAISDK/CoreVideoRerankingResults.swift
StructureRerankingResultstruct RerankingResultSources/SwiftAISDK/CoreVideoRerankingResults.swift
StructureVideoFrameImagestruct VideoFrameImageSources/SwiftAISDK/CoreVideoRerankingResults.swift
StructureVideoGenerationOperationStartRequeststruct VideoGenerationOperationStartRequestSources/SwiftAISDK/VideoGenerationOperations.swift
StructureVideoGenerationOperationStartResultstruct VideoGenerationOperationStartResultSources/SwiftAISDK/VideoGenerationOperations.swift
StructureVideoGenerationOperationStatusRequeststruct VideoGenerationOperationStatusRequestSources/SwiftAISDK/VideoGenerationOperations.swift
StructureVideoGenerationOperationWebhookstruct VideoGenerationOperationWebhookSources/SwiftAISDK/VideoGenerationOperations.swift
StructureVideoGenerationPollOptionsstruct VideoGenerationPollOptionsSources/SwiftAISDK/VideoGenerationOperations.swift
StructureVideoGenerationRequeststruct VideoGenerationRequestSources/SwiftAISDK/CoreVideoRerankingResults.swift
StructureVideoGenerationResultstruct VideoGenerationResultSources/SwiftAISDK/CoreVideoRerankingResults.swift
StructureVideoGenerationWebhookRegistrationstruct VideoGenerationWebhookRegistrationSources/SwiftAISDK/VideoGenerationOperations.swift
Type AliasVideoGenerationDelaytypealias VideoGenerationDelay = @Sendable (Int, AIAbortSignal?) async throws -> VoidSources/SwiftAISDK/VideoGenerationOperations.swift
Type AliasVideoGenerationWebhookFactorytypealias VideoGenerationWebhookFactory = @Sendable () async throws -> VideoGenerationWebhookRegistrationSources/SwiftAISDK/VideoGenerationOperations.swift
Type MethodgetVideoStatus(model:operation:headers:abortSignal:retryPolicy:)static func getVideoStatus(model: any VideoModel, operation: JSONValue, headers: [String : String] = [:], abortSignal: AIAbortSignal? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> VideoGenerationOperationStatusResultSources/SwiftAISDK/VideoGenerationOperations.swift
Type MethodstartVideo(model:request:webhookURL:retryPolicy:)static func startVideo(model: any VideoModel, request: VideoGenerationRequest, webhookURL: String? = nil, retryPolicy: AIRetryPolicy = .default) async throws -> VideoGenerationOperationStartResultSources/SwiftAISDK/VideoGenerationOperations.swift