foundry_parse_image_response: Parse Image Generation Response

View source: R/image.R

foundry_parse_image_responseR Documentation

Parse Image Generation Response

Description

Internal function to parse image generation API response into a tibble.

Usage

foundry_parse_image_response(
  result,
  original_prompt,
  response_format = NULL,
  output_format = NULL
)

Arguments

result

List. The parsed JSON response.

original_prompt

Character. The original prompt provided.

response_format

Character. The response format requested.

Value

A tibble with image response data.


foundryR documentation built on Sept. 25, 2026, 1:10 a.m.