DiffusionApi class
Logical Diffusion service contract. Native photo-library/camera/file acquisition, OS-visible image operations, and platform-specific backend execution remain adapter-owned; C++ consumes only serialized request/result/event messages.
Constructors
- DiffusionApi(RpcClient _client)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generate(
ClientContext? ctx, DiffusionGenerationRequest request) → Future< DiffusionResult> - One-shot image generation returning the final image result envelope.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
stream(
ClientContext? ctx, DiffusionGenerationRequest request) → Future< DiffusionStreamEvent> - Server-streaming generation events: start, denoising progress, intermediate images, terminal completion, and errors.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited