Function openai_flows::create_image

source ·
pub fn create_image(account: &str, params: ImageRequest) -> Vec<String>
Expand description

Create image for the provided prompt and parameters.

account is the account name when you connect Flows.network platform with your OpenAI account.

params is a ImageRequest object.

If you have not connected your OpenAI account with Flows.network platform, you will receive an error in the flow’s building log or running log.