SwarmGen + TimeHive
Automatically log time against your TimeHive tasks when you generate and render images
TimeHive is a time-tracking tool that logs how long you spend on tasks across the tools you already use. SwarmGen integrates with TimeHive so that every image generation and every render is automatically recorded as time against the right TimeHive task — no stopwatch, no manual timesheet entry. Each event is a fire-and-forget POST to TimeHive's ingest API and never slows down or blocks the underlying action.
How to set it up
- 1
Get your TimeHive bearer token
Sign in to TimeHive and generate a bearer token from your account settings. This token authenticates SwarmGen's webhook calls to the TimeHive ingest API.
- 2
Copy your TimeHive task IDs
Open each task in TimeHive that you want SwarmGen to log against — one for Standard generations, one for Advanced generations, one for renders. Copy each task ID. You can use the same task ID for all three if you only need one bucket.
- 3
Configure in SwarmGen Settings
In SwarmGen, go to Settings → TimeHive Integration. Paste your bearer token and the three task IDs, then click Save. If your workspace admin has also configured shared credentials, your personal settings take priority — any field you leave blank falls back to the admin credentials.
- 4
Verify the connection
Run a generation or a render in SwarmGen, then open TimeHive and check that a new entry has appeared against the configured task. Entries typically appear within a few seconds.
Code example
// SwarmGen fires this to TimeHive's ingest API on each event:
{
"email": "[email protected]",
"task_id": "YOUR_TIMEHIVE_TASK_ID",
"count": 1,
"event": "generate_standard"
}
// Possible event values:
// "generate_standard" — Quick Edit AI generation
// "generate_advanced" — Creative Design AI generation
// "render" — image/PDF render
// Bulk operations send a single event with count > 1:
{
"email": "[email protected]",
"task_id": "YOUR_TIMEHIVE_TASK_ID",
"count": 12,
"event": "generate_standard"
}Bespoke integrations are not supported by our team. The sample code here is for guidance and you will need technical knowledge or a developer to implement it. We plan to release dedicated plugins for key tools as demand grows.
Ready to connect TimeHive?
Create a free account, build a template, and start generating images from your TimeHive workflows in minutes.
Get started free