API referenceThumbnails
Get a thumbnail reference
GET
Needs a key withreferences:read
One thumbnail reference with its curation notes and licence record.
Requires scope references:read.
apiKeyheader
x-api-key<token>An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.
id*stringLength
1 <= length <= 40The reference.
application/json- response
categories*array<string>curationStatus*stringrecommended_with_context (curated), unreviewed or avoid_as_generation_reference.
height*integerid*stringStable ref-NNNN id.
key*stringStorage key of the original: pass it as a reference image's key to use it in a generation.
previewUrl*stringA 480px WebP for grids.
recipes*array<string>referenceReady*booleanCurated: recipes and defaults use it.
source*stringtitle*stringurl*stringThe original image.
width*integercontentType*stringcurationNotes*array<string>license*The licence record kept with the image.
sha256*stringsourceUrl*string|nullcurl -X GET 'https://api.remagica.com/api/v1/thumbnail-references/a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05'Example Response
{ "categories": [ "string" ], "curationStatus": "string", "height": 1280, "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05", "key": "generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png", "previewUrl": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png", "recipes": [ "string" ], "referenceReady": true, "source": "string", "title": "Autumn campaign", "url": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png", "width": 1024, "contentType": "image/png", "curationNotes": [ "string" ], "license": {}, "sha256": "string", "sourceUrl": "https://files.remagica.com/generations/e661f4c9-5b3d-4f60-8e2a-1d9c6b4f7e05/0.png"}