@wix/auto_sdk_ai-gateway_prompts 1.0.20 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2847,6 +2847,13 @@ interface CreatePredictionResponse {
2847
2847
  * @maxLength 40000
2848
2848
  */
2849
2849
  output?: string[] | null;
2850
+ /**
2851
+ * Prediction text output
2852
+ * @minSize 1
2853
+ * @maxSize 10
2854
+ * @maxLength 40000
2855
+ */
2856
+ textOutput?: string[] | null;
2850
2857
  /**
2851
2858
  * The prediction status
2852
2859
  * @maxLength 100
@@ -9643,7 +9650,7 @@ declare function onPromptProxyCompleted(handler: (event: PromptProxyCompletedEnv
9643
9650
  * @permissionId API_INFRA.WIX_AI_EXTERNAL_GATEWAY_GENERATE_CONTENT
9644
9651
  * @fqn wix.api_infra.v1.WixAiExternalGateway.GenerateContentByPromptObject
9645
9652
  */
9646
- declare function generateContentByPromptObject(options?: GenerateContentByPromptObjectOptions): Promise<NonNullablePaths<GenerateContentByPromptObjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
9653
+ declare function generateContentByPromptObject(options?: GenerateContentByPromptObjectOptions): Promise<NonNullablePaths<GenerateContentByPromptObjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
9647
9654
  interface GenerateContentByPromptObjectOptions {
9648
9655
  /** Prompt object that describes the content generation request. */
9649
9656
  prompt?: Prompt;
@@ -9695,7 +9702,7 @@ interface GenerateTextByPromptObjectStreamedOptions {
9695
9702
  * @permissionId API_INFRA.WIX_AI_EXTERNAL_GATEWAY_GENERATE_CONTENT
9696
9703
  * @fqn wix.api_infra.v1.WixAiExternalGateway.GenerateContentByPromptObjectAsync
9697
9704
  */
9698
- declare function generateContentByPromptObjectAsync(options?: GenerateContentByPromptObjectAsyncOptions): Promise<NonNullablePaths<GenerateContentByPromptObjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
9705
+ declare function generateContentByPromptObjectAsync(options?: GenerateContentByPromptObjectAsyncOptions): Promise<NonNullablePaths<GenerateContentByPromptObjectResponse, `response.openAiChatCompletionResponse.model` | `response.openAiChatCompletionResponse.choices` | `response.openAiChatCompletionResponse.choices.${number}.message.role` | `response.googleTextBisonResponse.predictions` | `response.googleChatBisonResponse.predictions` | `response.azureChatCompletionResponse.model` | `response.azureChatCompletionResponse.choices` | `response.azureChatCompletionResponse.choices.${number}.message.role` | `response.googleGeminiGenerateContentResponse.candidates` | `response.googleGeminiGenerateContentResponse.candidates.${number}.finishReason` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails` | `response.googleGeminiGenerateContentResponse.usageMetadata.promptTokensDetails.${number}.modality` | `response.googleGeminiGenerateContentResponse.usageMetadata.candidatesTokensDetails` | `response.anthropicClaudeResponse.responseId` | `response.anthropicClaudeResponse.model` | `response.anthropicClaudeResponse.responseType` | `response.anthropicClaudeResponse.role` | `response.anthropicClaudeResponse.content` | `response.anthropicClaudeResponse.usage.inputTokens` | `response.anthropicClaudeResponse.usage.outputTokens` | `response.anthropicClaudeResponse.contentBlocks` | `response.anthropicClaudeResponse.contentBlocks.${number}.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.anthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.anthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.anthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.anthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.googleAnthropicClaudeResponse.responseId` | `response.googleAnthropicClaudeResponse.model` | `response.googleAnthropicClaudeResponse.responseType` | `response.googleAnthropicClaudeResponse.role` | `response.googleAnthropicClaudeResponse.content` | `response.googleAnthropicClaudeResponse.usage.inputTokens` | `response.googleAnthropicClaudeResponse.usage.outputTokens` | `response.googleAnthropicClaudeResponse.contentBlocks` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.text` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.textContent.cacheControl.type` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.imageUrl.mediaType` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.signature` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.thinking.thinking` | `response.googleAnthropicClaudeResponse.contentBlocks.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.responseId` | `response.invokeAnthropicModelResponse.model` | `response.invokeAnthropicModelResponse.type` | `response.invokeAnthropicModelResponse.role` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral1hInputTokens` | `response.invokeAnthropicModelResponse.usage.cacheCreation.ephemeral5mInputTokens` | `response.invokeAnthropicModelResponse.usage.inputTokens` | `response.invokeAnthropicModelResponse.usage.outputTokens` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webSearchRequests` | `response.invokeAnthropicModelResponse.usage.serverToolUse.webFetchRequests` | `response.invokeAnthropicModelResponse.container.expiresAt` | `response.invokeAnthropicModelResponse.container._id` | `response.invokeAnthropicModelResponse.content` | `response.invokeAnthropicModelResponse.content.${number}.textContent.text` | `response.invokeAnthropicModelResponse.content.${number}.textContent.cacheControl.type` | `response.invokeAnthropicModelResponse.content.${number}.image.mediaType` | `response.invokeAnthropicModelResponse.content.${number}.thinking.signature` | `response.invokeAnthropicModelResponse.content.${number}.thinking.thinking` | `response.invokeAnthropicModelResponse.content.${number}.redactedThinking.data` | `response.invokeAnthropicModelResponse.content.${number}.document.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentSuccess.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.contentError.type` | `response.invokeAnthropicModelResponse.content.${number}.webFetchToolResult.type` | `response.perplexityChatCompletionResponse.model` | `response.perplexityChatCompletionResponse.citations` | `response.perplexityChatCompletionResponse.choices` | `response.perplexityChatCompletionResponse.choices.${number}.message.content` | `response.perplexityChatCompletionResponse.choices.${number}.message.role` | `response.perplexityChatCompletionResponse.images` | `response.perplexityChatCompletionResponse.relatedQuestions` | `response.openAiCreateImageResponse.data` | `response.openAiCreateImageResponse.model` | `response.stabilityAiTextToImageResponse.data` | `response.stabilityAiTextToImageResponse.model` | `response.stabilityAiGenerateCoreResponse.data` | `response.stabilityAiGenerateCoreResponse.model` | `response.stabilityAiStableDiffusionResponse.data` | `response.stabilityAiStableDiffusionResponse.model` | `response.replicateCreatePredictionResponse.output` | `response.replicateCreatePredictionResponse.textOutput` | `response.stabilityAiEditImageWithPromptResponse.data` | `response.stabilityAiEditImageWithPromptResponse.model` | `response.runwareTextToImageResponse.data` | `response.runwareTextToImageResponse.data.${number}.taskUuid` | `response.runwareTextToImageResponse.data.${number}.imageUuid` | `response.runwareTextToImageResponse.data.${number}.nsfwContent` | `response.googleGenerateImageResponse.predictions` | `response.googleGenerateVideoResponse.videos` | `response.mlPlatformGenerateImageResponse.output` | `response.openAiCreateOpenAiImageResponse.data` | `response.openAiCreateOpenAiImageResponse.model` | `response.openAiEditOpenAiImageResponse.data` | `response.openAiEditOpenAiImageResponse.model` | `response.googleCreateChatCompletionResponse.model` | `response.googleCreateChatCompletionResponse.choices` | `response.googleCreateChatCompletionResponse.choices.${number}.message.role` | `response.mlPlatformOpenAiRawResponse.modelId` | `response.mlPlatformOpenAiRawResponse.choices` | `response.mlPlatformOpenAiRawResponse.choices.${number}.message.role` | `response.runwareVideoInferenceResponse.data` | `response.runwareVideoInferenceResponse.data.${number}.taskType` | `response.runwareVideoInferenceResponse.data.${number}.taskUuid` | `response.openAiResponsesResponse.model` | `response.openAiResponsesResponse.output` | `response.azureOpenAiResponsesResponse.model` | `response.azureOpenAiResponsesResponse.output` | `response.generatedContent.texts` | `response.generatedContent.images` | `response.generatedContent.images.${number}.url` | `response.generatedContent.videos` | `response.generatedContent.thinkingTexts` | `response.generatedContent.tools` | `response.generatedContent.tools.${number}.name` | `materializedPrompt.openAiChatCompletionRequest.model` | `materializedPrompt.openAiChatCompletionRequest.messages` | `materializedPrompt.openAiChatCompletionRequest.messages.${number}.role` | `materializedPrompt.openAiChatCompletionRequest.functions` | `materializedPrompt.openAiChatCompletionRequest.stop` | `materializedPrompt.openAiChatCompletionRequest.tools` | `materializedPrompt.openAiChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleTextBisonRequest.instances` | `materializedPrompt.googleTextBisonRequest.parameters.stopSequences` | `materializedPrompt.googleTextBisonRequest.model` | `materializedPrompt.googleChatBisonRequest.instances` | `materializedPrompt.googleChatBisonRequest.model` | `materializedPrompt.azureChatCompletionRequest.model` | `materializedPrompt.azureChatCompletionRequest.messages` | `materializedPrompt.azureChatCompletionRequest.messages.${number}.role` | `materializedPrompt.azureChatCompletionRequest.functions` | `materializedPrompt.azureChatCompletionRequest.stop` | `materializedPrompt.azureChatCompletionRequest.tools` | `materializedPrompt.azureChatCompletionRequest.tools.${number}.type` | `materializedPrompt.googleGeminiGenerateContentRequest.model` | `materializedPrompt.googleGeminiGenerateContentRequest.contents` | `materializedPrompt.googleGeminiGenerateContentRequest.contents.${number}.role` | `materializedPrompt.googleGeminiGenerateContentRequest.systemInstruction.parts` | `materializedPrompt.googleGeminiGenerateContentRequest.tools` | `materializedPrompt.googleGeminiGenerateContentRequest.tools.${number}.googleSearchRetrieval.dynamicRetrievalConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.category` | `materializedPrompt.googleGeminiGenerateContentRequest.safetySettings.${number}.threshold` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.stopSequences` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.responseModalities` | `materializedPrompt.googleGeminiGenerateContentRequest.generationConfig.imageConfig.personGeneration` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.mode` | `materializedPrompt.googleGeminiGenerateContentRequest.toolConfig.functionCallingConfig.allowedFunctionNames` | `materializedPrompt.anthropicClaudeRequest.model` | `materializedPrompt.anthropicClaudeRequest.messages` | `materializedPrompt.anthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.anthropicClaudeRequest.systemPrompt` | `materializedPrompt.anthropicClaudeRequest.stopSequences` | `materializedPrompt.anthropicClaudeRequest.tools` | `materializedPrompt.anthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.anthropicClaudeRequest.toolChoice.type` | `materializedPrompt.anthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.anthropicClaudeRequest.mcpServers` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.anthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.googleAnthropicClaudeRequest.model` | `materializedPrompt.googleAnthropicClaudeRequest.messages` | `materializedPrompt.googleAnthropicClaudeRequest.messages.${number}.role` | `materializedPrompt.googleAnthropicClaudeRequest.systemPrompt` | `materializedPrompt.googleAnthropicClaudeRequest.stopSequences` | `materializedPrompt.googleAnthropicClaudeRequest.tools` | `materializedPrompt.googleAnthropicClaudeRequest.tools.${number}.cacheControl.type` | `materializedPrompt.googleAnthropicClaudeRequest.toolChoice.type` | `materializedPrompt.googleAnthropicClaudeRequest.thinking.budgetTokens` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.name` | `materializedPrompt.googleAnthropicClaudeRequest.mcpServers.${number}.type` | `materializedPrompt.invokeAnthropicModelRequest.model` | `materializedPrompt.invokeAnthropicModelRequest.messages` | `materializedPrompt.invokeAnthropicModelRequest.messages.${number}.role` | `materializedPrompt.invokeAnthropicModelRequest.systemPrompt` | `materializedPrompt.invokeAnthropicModelRequest.stopSequences` | `materializedPrompt.invokeAnthropicModelRequest.tools` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.name` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.custom.cacheControl.type` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayWidthPx` | `materializedPrompt.invokeAnthropicModelRequest.tools.${number}.computerUse.displayHeightPx` | `materializedPrompt.invokeAnthropicModelRequest.toolChoice.type` | `materializedPrompt.invokeAnthropicModelRequest.thinking.budgetTokens` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.name` | `materializedPrompt.invokeAnthropicModelRequest.mcpServers.${number}.type` | `materializedPrompt.llamaModelRequest.model` | `materializedPrompt.openAiCreateImageRequest.model` | `materializedPrompt.openAiCreateImageRequest.quality` | `materializedPrompt.openAiCreateImageRequest.size` | `materializedPrompt.openAiCreateImageRequest.style` | `materializedPrompt.stabilityAiTextToImageRequest.model` | `materializedPrompt.stabilityAiTextToImageRequest.textPrompts` | `materializedPrompt.stabilityAiTextToImageRequest.clipGuidancePreset` | `materializedPrompt.stabilityAiTextToImageRequest.sampler` | `materializedPrompt.stabilityAiTextToImageRequest.stylePreset` | `materializedPrompt.stabilityAiGenerateCoreRequest.model` | `materializedPrompt.stabilityAiGenerateCoreRequest.stylePreset` | `materializedPrompt.stabilityAiStableDiffusionRequest.mode` | `materializedPrompt.stabilityAiStableDiffusionRequest.model` | `materializedPrompt.stabilityAiStableDiffusionRequest.outputFormat` | `materializedPrompt.blackForestLabsGenerateImageRequest.model` | `materializedPrompt.replicateCreatePredictionRequest.lucatacoFlorence2Large.taskInput` | `materializedPrompt.replicateCreatePredictionRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.model` | `materializedPrompt.stabilityAiEditWithPromptRequest.stylePreset` | `materializedPrompt.runwareTextToImageRequest.positivePrompt` | `materializedPrompt.runwareTextToImageRequest.height` | `materializedPrompt.runwareTextToImageRequest.width` | `materializedPrompt.runwareTextToImageRequest.referenceImages` | `materializedPrompt.runwareTextToImageRequest.model` | `materializedPrompt.runwareTextToImageRequest.loraModels` | `materializedPrompt.mlPlatformLlamaModelRequest.modelId` | `materializedPrompt.perplexityChatCompletionRequest.model` | `materializedPrompt.perplexityChatCompletionRequest.messages` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.content` | `materializedPrompt.perplexityChatCompletionRequest.messages.${number}.role` | `materializedPrompt.perplexityChatCompletionRequest.searchDomainFilter` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.jsonSchema` | `materializedPrompt.perplexityChatCompletionRequest.responseFormat.regex` | `materializedPrompt.googleGenerateImageRequest.model` | `materializedPrompt.googleGenerateImageRequest.instances` | `materializedPrompt.mlPlatformGenerateImageRequest.model` | `materializedPrompt.openAiCreateOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.model` | `materializedPrompt.openAiEditOpenAiImageRequest.imageUrls` | `materializedPrompt.googleGenerateVideoRequest.model` | `materializedPrompt.googleGenerateVideoRequest.instances` | `materializedPrompt.googleCreateChatCompletionRequest.model` | `materializedPrompt.googleCreateChatCompletionRequest.messages` | `materializedPrompt.googleCreateChatCompletionRequest.messages.${number}.role` | `materializedPrompt.mlPlatformOpenAiRawRequest.modelId` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages` | `materializedPrompt.mlPlatformOpenAiRawRequest.messages.${number}.role` | `materializedPrompt.runwareVideoInferenceRequest.outputFormat` | `materializedPrompt.runwareVideoInferenceRequest.frameImages` | `materializedPrompt.runwareVideoInferenceRequest.frameImages.${number}.inputImage` | `materializedPrompt.runwareVideoInferenceRequest.referenceImages` | `materializedPrompt.runwareVideoInferenceRequest.model` | `materializedPrompt.openAiResponsesRequest.model` | `materializedPrompt.openAiResponsesRequest.include` | `materializedPrompt.openAiResponsesRequest.input` | `materializedPrompt.openAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.openAiResponsesRequest.tools` | `materializedPrompt.azureOpenAiResponsesRequest.model` | `materializedPrompt.azureOpenAiResponsesRequest.include` | `materializedPrompt.azureOpenAiResponsesRequest.input` | `materializedPrompt.azureOpenAiResponsesRequest.input.${number}.message.role` | `materializedPrompt.azureOpenAiResponsesRequest.tools` | `materializedPrompt.openAiCreateVideoRequest.prompt` | `materializedPrompt.openAiCreateVideoRequest.model` | `materializedPrompt.templatedParameterNames` | `materializedPrompt.templatedDynamicPropertiesNames` | `predictionId`, 8>>;
9699
9706
  interface GenerateContentByPromptObjectAsyncOptions {
9700
9707
  /** Prompt object that describes the content generation request. */
9701
9708
  prompt?: Prompt;