#image-generation #api-client #text-image #requests #generate #prompt #response

bin+lib chatgpt-generative-img

A Rust library for generating images using OpenAI's API

1 unstable release

0.1.0 Sep 7, 2024

#32 in #image-generation

MIT license

13KB
174 lines

OpenAI Image Generation Client

This Rust library provides a client for interacting with the OpenAI API to generate images based on text prompts.

Features

  • Create a new client with or without a proxy.
  • Send image generation requests to the OpenAI API.
  • Parse and handle responses from the API.

Dependencies

~8–19MB
~252K SLoC