Skip to main content

Visual identity for Kestrel Sovereign agents — avatar generation, selfies, and LoRA training for character consistency

Project description

kestrel-feature-visual

Visual identity for Kestrel Sovereign agents — avatar generation, selfies, and LoRA training for character consistency. Uses Replicate for image generation with optional LoRA training for consistent visual identity across generated images.

Installation

uv pip install kestrel-feature-visual

The feature is auto-discovered by Kestrel Sovereign via the kestrel_sovereign.features entry point — install it alongside kestrel-sovereign and the VisualIdentityFeature registers itself at startup.

Configuration

Variable Description
REPLICATE_API_TOKEN Replicate API token for image generation (required for avatar/selfie tools)

Tools provided

  • generate_avatar — Create a portrait avatar from a description
  • generate_selfie — Generate a selfie in various scenes (casual, portrait, glamour, flirty, cozy, adventure, mysterious, romantic, playful, dreamy, confident)
  • train_lora — Kick off LoRA training for character consistency (requires kestrel-feature-lora or another training provider installed alongside)

Dependencies

  • kestrel-sovereign-sdk>=0.14.1,<1 — base Feature, tool, and ToolCategory interfaces
  • replicate>=1.0.4 — Replicate API client
  • httpx>=0.27.0 — HTTP transport

Development

uv pip install -e '.[test]'
uv run pytest

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kestrel_feature_visual-0.2.2.tar.gz (33.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kestrel_feature_visual-0.2.2-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

Details for the file kestrel_feature_visual-0.2.2.tar.gz.

File metadata

  • Download URL: kestrel_feature_visual-0.2.2.tar.gz
  • Upload date:
  • Size: 33.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for kestrel_feature_visual-0.2.2.tar.gz
Algorithm Hash digest
SHA256 bbb883b57bb2904a3e5747210c9b037bbc42ad30eb86a51ebc9526c70ba73b81
MD5 a760cb92d2ddb19ec63636f8b7d725ba
BLAKE2b-256 7af7d21ebba36b66a69401e17fd39e575a193ce9d773309cf55922742849dc52

See more details on using hashes here.

Provenance

The following attestation bundles were made for kestrel_feature_visual-0.2.2.tar.gz:

Publisher: publish.yml on KestrelSovereignAI/kestrel-feature-visual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file kestrel_feature_visual-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for kestrel_feature_visual-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 014240316d6c0551394a5d7957160862fe5a215080e39afe24a8b880df169794
MD5 0e2cb092de63d1cb9084eb49689b6771
BLAKE2b-256 84c062d2784c90ec47102aea99905e8a2a074a3d6be4987e30252dcb63ebd389

See more details on using hashes here.

Provenance

The following attestation bundles were made for kestrel_feature_visual-0.2.2-py3-none-any.whl:

Publisher: publish.yml on KestrelSovereignAI/kestrel-feature-visual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page