a802f59f55
- cmd/fn/doctor.go - cmd/fn/main.go - cpp/apps/primitives_gallery/playground/tables/CMakeLists.txt - cpp/apps/primitives_gallery/playground/tables/data_table.cpp - cpp/apps/primitives_gallery/playground/tables/data_table_logic.cpp - cpp/apps/primitives_gallery/playground/tables/data_table_logic.h - cpp/apps/primitives_gallery/playground/tables/self_test.cpp - cpp/apps/primitives_gallery/playground/tables/tql.cpp - cpp/apps/primitives_gallery/playground/tables/viz.cpp - cpp/apps/primitives_gallery/playground/tables/viz.h - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
10 lines
309 B
Go
10 lines
309 B
Go
package ml
|
|
|
|
import "context"
|
|
|
|
// ImageGenerator define el contrato para cualquier backend de generacion de imagenes.
|
|
// Las implementaciones pueden ser locales (ComfyUI, diffusers) o remotas (API).
|
|
type ImageGenerator interface {
|
|
Generate(ctx context.Context, cfg GenerationConfig) (ImageGenResult, error)
|
|
}
|