stabilityai_client library
Classes
- AccountResponseBody
- ApiClient
- ApiKeyAuth
- Authentication
- BalanceResponseBody
- ClipGuidancePreset
- ClipGuidancePresetTypeTransformer
- Transformation final class that can encode an instance of ClipGuidancePreset to String, and decode dynamic data back to ClipGuidancePreset.
- DeserializationMessage
- Primarily intended for use in an isolate.
- Engine
- EngineTypeEnum
- The type of content this engine produces
- EngineTypeEnumTypeTransformer
- Transformation final class that can encode an instance of EngineTypeEnum to String, and decode dynamic data back to EngineTypeEnum.
- Error
- FinishReason
-
The result of the generation process. -
SUCCESS
indicates success -ERROR
indicates an error -CONTENT_FILTERED
indicates the result affected by the content filter and may be blurred. This header is only present when theAccept
is set toimage/png
. Otherwise it is returned in the response body. - FinishReasonTypeTransformer
- Transformation final class that can encode an instance of FinishReason to String, and decode dynamic data back to FinishReason.
- GenerationRequestOptionalParams
- HttpBasicAuth
- HttpBearerAuth
- Image
- ImageFinishReasonEnum
- ImageFinishReasonEnumTypeTransformer
- Transformation final class that can encode an instance of ImageFinishReasonEnum to String, and decode dynamic data back to ImageFinishReasonEnum.
- ImageToImageRequestBody
- ImageToImageUsingImageStrengthRequestBody
- ImageToImageUsingImageStrengthRequestBodyAllOf
- ImageToImageUsingStepScheduleRequestBody
- ImageToImageUsingStepScheduleRequestBodyAllOf
- InitImageMode
-
Whether to use
image_strength
orstep_schedule_*
to control how much influence theinit_image
has on the result. - InitImageModeTypeTransformer
- Transformation final class that can encode an instance of InitImageMode to String, and decode dynamic data back to InitImageMode.
- LatentUpscalerUpscaleRequestBody
- MaskingRequestBody
- MaskingUsingInitImageAlphaRequestBody
- MaskingUsingInitImageAlphaRequestBodyAllOf
- MaskingUsingMaskImageRequestBody
- MaskingUsingMaskImageRequestBodyAllOf
- OAuth
- OrganizationMembership
- QueryParam
- RealESRGANUpscaleRequestBody
- Sampler
- Which sampler to use for the diffusion process. If this value is omitted we'll automatically select an appropriate sampler for you.
- SamplerTypeTransformer
- Transformation final class that can encode an instance of Sampler to String, and decode dynamic data back to Sampler.
- StabilityaiClient
- Stability AI client class. Provides a thin wrapper around the Open API implementation
- StylePreset
- Pass in a style preset to guide the image model towards a particular style. This list of style presets is subject to change.
- StylePresetTypeTransformer
- Transformation final class that can encode an instance of StylePreset to String, and decode dynamic data back to StylePreset.
- TextPrompt
- TextToImageRequestBody
- TextToImageRequestBodyAllOf
- UpscaleImageRequest
- V1EnginesApi
- V1GenerationApi
- V1UserApi
Properties
- defaultApiClient ↔ ApiClient
-
getter/setter pair
Functions
-
deserializeAsync(
DeserializationMessage message) → Future - Primarily intended for use in an isolate.
-
mapCastOfType<
K, V> (dynamic map, String key) → Map< K, V> ? -
Returns a valid
Map<K, V>
found at the specified Mapkey
, null otherwise. -
mapDateTime(
dynamic map, String key, [String? pattern]) → DateTime? -
Returns a valid DateTime found at the specified Map
key
, null otherwise. -
mapValueOfType<
T> (dynamic map, String key) → T? -
Returns a valid
T
value found at the specified Mapkey
, null otherwise. -
parameterToString(
dynamic value) → String - Format the given parameter object into a String.
-
serializeAsync(
Object? value) → Future< String> - Primarily intended for use in an isolate.
Typedefs
- HttpBearerAuthProvider = String Function()