Replicate has some "official" models that you can run without a version string, like stability-ai/stable-diffusion-3 and black-forest-labs/flux-schnell, but for other "community" models you need to specify a fully qualified string that includes the version of the model, eg. {owner}/{model}:{sha}
This PR updates aimg to automatically handle cases when the Replicate API barfs on a shorthand model identifier. It fetches a version, then re-runs the prompt with the full version string.
Replicate has some "official" models that you can run without a version string, like
stability-ai/stable-diffusion-3
andblack-forest-labs/flux-schnell
, but for other "community" models you need to specify a fully qualified string that includes the version of the model, eg.{owner}/{model}:{sha}
This PR updates
aimg
to automatically handle cases when the Replicate API barfs on a shorthand model identifier. It fetches a version, then re-runs the prompt with the full version string.