ImagesService class

Constructors

ImagesService({required String baseUrl, required bool secure})

Properties

baseUrl String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secure bool
final

Methods

createImage({required String apiKey, required String organizationId, required ImageCreateRequest request}) Future<List<GptImage>>
Creates an image given a prompt.
createImageEdit({required String apiKey, required String organizationId, required ImageEditRequest request}) Future<List<GptImage>>
Creates an edited or extended image given an original image and a prompt.
createImageVariation({required String apiKey, required String organizationId, required ImageVariationRequest request}) Future<List<GptImage>>
Creates a variation of a given image.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited