LumenClip Docs
LumenClip Docs
LumenClip engineering documentation
Data dictionaryPersistence and physical recordsWorkspace, collections, and assetsTemplate definitionsGeneration runs and outputsPublishing, calendar, and analyticsOperations and accessBackend architectureRailway runtimeBackend endpoints
Data

Generation runs and outputs

Execution records, plans, results, slideshows, exports, and generated social drafts.

Generation runs and outputs

Every generated artifact enters the product as an output. A completed generation is draft until the user publishes it immediately or assigns a future publish time. A post output can contain text only or compose the media from a slideshow or video output.

Generation runs and outputs. Optionality and accepted values are included in each field description.

AutomationRunRecord

FieldTypeExampleDescription
idstring"record-123"Required. Run ID. Accepted format: Stable domain ID.
automationIdstring"record-123"Required. Parent automation. Accepted format: Automation ID.
automationTitlestring"Example"Required. Snapshot title.
scheduledForISO datetime"2026-08-01T09:00:00.000Z"Required. Content slot. Accepted format: ISO 8601.
generationSourcestring enum"manual"Optional. Initiator. Accepted format: manual, scheduled.
requestIdstring"record-123"Optional. Request identity. Accepted format: Idempotency/correlation ID.
statusstring enum"running"Required. Run lifecycle. Accepted format: running, succeeded, failed.
postfastRecordIdstring"record-123"Optional. Associated publication. Accepted format: Publication ID.
slideshowIdstring"record-123"Optional. Generated slideshow. Accepted format: Slideshow ID.
videoUrlstring"https://example.com/item"Optional. Generated video. Accepted format: URL/path.
thumbnailUrlstring"https://example.com/item"Optional. Preview image. Accepted format: URL/path.
outputImagesstring[][]Optional. Rendered slides. Accepted format: URLs/paths.
outputDirstring"Example"Optional. Render output location. Accepted format: Storage-relative path.
socialStatusesAutomationRunSocialStatus[][]Optional. Per-target publication states. Accepted format: Array.
manuallyPublishedAtISO datetime"2026-08-01T09:00:00.000Z"Optional. Manual publication evidence. Accepted format: ISO 8601.
renderedSlidesAutomationRunRenderedSlide[][]Optional. Rendered slide snapshot. Accepted format: Array.
planAutomationRunPlan"Example"Required. Reproducible decisions. Accepted format: See below.
createdAtISO datetime"2026-08-01T09:00:00.000Z"Required. Creation time. Accepted format: ISO 8601.
updatedAtISO datetime"2026-08-01T09:00:00.000Z"Required. Last update. Accepted format: ISO 8601.
errorstring"Example"Optional. Failure detail.

AutomationRunPlan

FieldTypeExampleDescription
titlestring"Example"Required. Planned title.
captionstring"Example"Required. Planned caption.
hashtagsstring"Example"Required. Planned hashtag text.
hookstring"Example"Required. Resolved hook.
hookIdstring"record-123"Optional. Source hook. Accepted format: Hook ID.
hookTemplatestring"Example"Optional. Pre-substitution hook.
hookSubstitutionsobject{ token: value }Optional. Variable resolutions. Accepted format: { token: value }.
imageCollectionIdsstring[][]Required. Used collections. Accepted format: Collection IDs.
violationsstring[][]Optional. Policy/quality warnings. Accepted format: Free strings.
slidesAutomationRunSlide[][]Required. Planned slides. Accepted format: Array.
slideCountobject{ mode, count?, min?, max? }Required. Count decision. Accepted format: { mode, count?, min?, max? }.
publishTypestring"Example"Required. Output/publication form. Accepted format: Normalized publish type.
autoMusicbooleantrueRequired. Music decision. Accepted format: true, false.
autoPostbooleantrueRequired. Auto-publication decision. Accepted format: true, false.
reuseWarningsobject[]"kind"Optional. Reuse exceptions. Accepted format: kind currently image.
hookCandidatesstring[][]Optional. Candidate hooks. Accepted format: Free strings.
textModelstring"Example"Optional. Text model used. Accepted format: Provider model ID.
languagestring"Example"Required. Generation language. Accepted format: Language label/code.
translationProviderstring literal"deepl"Optional. Translation provider. Accepted format: deepl.
contentStrategyobject{ "key": "value" }Optional. Selected strategy route. Accepted format: Route ID, content format, CTA strategy.
debugobject{ "key": "value" }Optional. Generation diagnostics; not presentation data. Accepted format: Structured diagnostics.

ResultRecord

FieldTypeExampleDescription
ownerIdstring"record-123"Optional. Output owner. Accepted format: Railway user ID.
idstring"record-123"Required. Result ID. Accepted format: Stable domain ID.
automationIdstring"record-123"Required. Source automation. Accepted format: Automation ID.
runIdstring"record-123"Required. Source run; one current result per run. Accepted format: Run ID.
workflowTypestring enum"slideshow"Required. Result family. Accepted format: slideshow, video.
titlestring"Example"Required. Display title.
statusstring enum"succeeded"Required. Generation result. Accepted format: succeeded, failed.
createdAtISO datetime"2026-08-01T09:00:00.000Z"Required. Creation time. Accepted format: ISO 8601.
updatedAtISO datetime"2026-08-01T09:00:00.000Z"Required. Last update. Accepted format: ISO 8601.
artifactsResultArtifacts"Example"Required. Generated media. Accepted format: See below.
payloadslideshow/video payload"type"Optional. Authoring/render payload. Accepted format: Discriminator type is slideshow or video.
destinationAccountIdsstring[][]Required. Intended targets. Accepted format: Integration IDs.

ResultArtifacts

FieldTypeExampleDescription
slideshowIdstring"record-123"Optional. Slideshow compatibility identity. Accepted format: Domain ID.
videoUrlstring"https://example.com/item"Optional. Video output. Accepted format: URL/path.
thumbnailUrlstring"https://example.com/item"Optional. Preview. Accepted format: URL/path.
outputImagesstring[][]Required. Rendered image outputs. Accepted format: URLs/paths; may be empty.
outputDirstring"Example"Optional. Render output directory. Accepted format: Storage-relative path.

SlideshowRecord

FieldTypeExampleDescription
ownerIdstring"record-123"Optional. Owner. Accepted format: Railway user ID.
idstring"record-123"Required. Slideshow ID. Accepted format: Domain ID.
runIdstring"record-123"Optional. Source run. Accepted format: Run ID.
automationIdstring"record-123"Optional. Source automation. Accepted format: Automation ID.
titlestring"Example"Required. Title.
captionstring"Example"Required. Caption.
hashtagsstring"Example"Required. Hashtag text.
promptstring"Example"Required. Generation prompt.
image_collectionstring"Example"Required. Primary source collection. Accepted format: Collection ID.
slideshow_typestring"Example"Required. Slideshow subtype. Accepted format: Free/normalized string.
created_atISO datetime"2026-08-01T09:00:00.000Z"Required. Creation time. Accepted format: ISO 8601.
updated_atISO datetime"2026-08-01T09:00:00.000Z"Required. Last update. Accepted format: ISO 8601.
settingsSlideshowSettings"Example"Required. Global render settings. Accepted format: See below.
imagesSlideshowSlide[][]Required. Slides. Accepted format: Array.
statusstring enum"exported"Required. Render status. Accepted format: exported, failed.
output_dirstring"Example"Optional. Render directory. Accepted format: Storage-relative path.
output_imagesstring[][]Required. Rendered slides. Accepted format: URLs/paths.
video_urlstring"https://example.com/item"Optional. Rendered video. Accepted format: URL/path.
thumbnail_urlstring"https://example.com/item"Optional. Preview image. Accepted format: URL/path.

SlideshowSettings

FieldTypeExampleDescription
durationnumber1Required. Slide duration. Accepted format: Positive seconds.
aspect_ratiostring"Example"Required. Global ratio. Accepted format: Normally automation aspect-ratio enum.
fontstring"Example"Required. Global font. Accepted format: Font family.
background_colorstring"#6d28d9"Required. Canvas background. Accepted format: CSS color.
transition_stylestring"Example"Required. Transition. Accepted format: Registered transition.
export_as_videobooleantrueRequired. Video render toggle. Accepted format: true, false.
sound_idstring"record-123"Required. Sound ID. Accepted format: Provider ID or empty string.
sound_namestring"Example"Required. Sound name.
sound_urlstring"https://example.com/item"Required. Sound source. Accepted format: URL or empty string.

GeneratedVideoExport

FieldTypeExampleDescription
ownerIdstring"record-123"Optional. Owner. Accepted format: Railway user ID.
idstring"record-123"Required. Export ID. Accepted format: Stable domain ID.
typestring enum"greenscreen"Required. Export family. Accepted format: greenscreen, ugc_ad, template_video.
statusstring enum"queued"Required. Generation lifecycle. Accepted format: queued, processing, ready, failed.
createdAtISO datetime"2026-08-01T09:00:00.000Z"Required. Creation time. Accepted format: ISO 8601.
updatedAtISO datetime"2026-08-01T09:00:00.000Z"Required. Last update. Accepted format: ISO 8601.
titlestring"Example"Required. Title.
descriptionstring"Example"Required. Description/copy.
hashtagsstring[][]Required. Hashtags. Accepted format: Array.
sourceConfigobject{ "key": "value" }Required. Generator-specific inputs. Accepted format: JSON object.
sourceAutomationIdstring"record-123"Optional. Originating automation. Accepted format: Automation ID.
sourceRunIdstring"record-123"Optional. Originating run. Accepted format: Run ID.
publicationobject{ "key": "value" }Optional. Publication summary. Accepted format: JSON object.
queuePositionnumber1Optional. Approximate queue position. Accepted format: Non-negative integer; only pending records.
previewUrlstring"https://example.com/item"Optional. Preview. Accepted format: URL/path.
videoUrlstring"https://example.com/item"Optional. Final video. Accepted format: URL/path.
errorstring"Example"Optional. Failure detail.
manuallyPublishedAtISO datetime"2026-08-01T09:00:00.000Z"Optional. Manual publication evidence. Accepted format: ISO 8601.
deletionBlockedBystring enum"published"Optional. Why deletion is blocked. Accepted format: published, scheduled.

XAutomationRun

FieldTypeExampleDescription
idstring"record-123"Required. Run ID. Accepted format: Stable domain ID.
ownerIdstring"record-123"Optional. Owner. Accepted format: Railway user ID.
requestIdstring"record-123"Optional. Request identity. Accepted format: Correlation/idempotency ID.
automationIdstring"record-123"Required. Parent. Accepted format: Automation ID.
automationNamestring"Example"Required. Snapshot name.
topicstring"Example"Required. Topic.
archetypestring enum"Example"Optional. Selected archetype. Accepted format: X archetypes listed above.
inferredBriefobject"XInferredContentBrief"Optional. Run-specific inferred brief. Accepted format: XInferredContentBrief.
contentTypestring enum"single"Required. Output form. Accepted format: single, thread, article.
platformstring enum"x"Required. Target. Accepted format: x, threads.
reactionModestring enum"none"Required. Reaction behavior. Accepted format: none, repost, quote.
sourceCandidateobject"XTrendCandidate"Optional. Discovered source. Accepted format: XTrendCandidate.
hookstring"Example"Required. Hook stage.
setupstring"Example"Required. Setup stage.
contentstring[][]Required. Content stages. Accepted format: Array.
proofstring"Example"Required. Proof stage.
curiosityGapstring"Example"Required. Curiosity stage.
ctastring"Example"Required. CTA stage.
postsXGeneratedPost[]"hook"Required. Final post units. Accepted format: Roles hook, setup, content, proof, gap, cta.
articleTitlestring"Example"Optional. Article title.
articleBodystring"Example"Optional. Article body.
imagePromptstring"Example"Optional. Generated-image prompt.
imageUrlsstring[]"https://example.com/item"Required. Generated media. Accepted format: URLs/paths.
benchmarkobject"XAutomationBenchmarkScore"Required. Quality score/evaluation. Accepted format: XAutomationBenchmarkScore.
statusstring enum"draft"Required. Run/content lifecycle. Accepted format: draft, approved, scheduled, published, failed.
scheduledForISO datetime"2026-08-01T09:00:00.000Z"Optional. Publication time. Accepted format: ISO 8601.
createdAtISO datetime"2026-08-01T09:00:00.000Z"Required. Creation time. Accepted format: ISO 8601.
updatedAtISO datetime"2026-08-01T09:00:00.000Z"Required. Last update. Accepted format: ISO 8601.
errorstring"Example"Optional. Failure detail.
publishingobject{ "key": "value" }Optional. Publication receipt. Accepted format: Attempt time, published/failed counts, optional skip reason.
plansobject[][]Optional. Multi-plan trace. Accepted format: Platform, archetype, pillar, hook style, review flag.
needsReviewbooleantrueOptional. Review gate. Accepted format: true, false.
reviewErrorsstring[][]Optional. Review failures. Accepted format: Array.

Template definitions

Editable slideshow, video, and post template configuration objects.

Publishing, calendar, and analytics

Social integrations, publication records, calendar views, and analytics snapshots.

On this page

Generation runs and outputs