Skip to main content

Queues & Jobs

Queues

QueuePurpose
avatar.selfieSelfie burst stylization jobs
avatar.creativePrompt-driven avatar generation
labeler.mediaMedia scoring + safety labels
labeler.userBehavioral scoring / liveness
notify.pushAPNs fan-out

Avatar job payload (selfie)

{
"jobId": "<uuid>",
"userId": "<uuid>",
"did": "did:web:...",
"source": { "type": "s3", "s3Keys": ["uploads/selfie-1.jpg"] },
"options": { "maxVariants": 4 }
}
  • Worker writes variants to S3, posts callback → API persists metadata + labels.

Edit ledger (per image)

{
"version": 1,
"source_hash": "sha256:...",
"edits": ["background.blur", "color.balance"],
"created_at": "2024-01-01T00:00:00Z",
"policy_flags": { "no_morph": true }
}