Docs

Start here

Read what a remix starts from

GET/v1/community/publications/{id}/sourceon https://api.auray.ai/v1

What a Recreate, Animate, Upscale or Edit of a shown work starts from: its files, its model, and its prompt and settings only while its author shows them (the remix licence).

What a Recreate, Animate, Upscale or Edit of a shown work starts from: its files, its model, and its prompt and settings only while its author shows them (the remix licence). It counts and pays nothing — the generation that follows is yours, submitted to the model's own address at your price; name the work you made it from as remix_of when you publish the result. Takes a key holding community:write — Account offers it unticked — or the desktop's own session key. Spends nothing.

#Authentication

Authorization: Bearer auray_sk_… — community:write — Account offers it unticked; the desktop's session key holds it.

#Request

#Path parameters

NameTypeRequiredDescription
idstringyes

#Example request

curl https://api.auray.ai/v1/community/publications/3f0c8a52-6a1d-4e8b-9c2d-7e5f4a3b2c1d/source \
  -H "Authorization: Bearer $AURAY_API_KEY"

#Responses

#200 OK

OK.

FieldTypeRequiredDefaultDescription
objectstringyes—One of "remix_source".
idstringyes—
kindstringyes—One of "image", "video", "audio", "model3d", "project".
titlestringno—May be null.
modelobjectyes—
model.addressstringyes—The model address it was made with, as GET /v1/models lists it: the path a job is submitted to, such as auray-ai/krea-2-turbo/text-to-image. May be null.
model.idstringyes—The same model's id, as GET /v1/models lists it: the catalogue slug, such as krea2. May be null.
model.labelstringyes—The model's name, as a person reads it. May be null.
ai_generatedbooleanno—One of true.
show_promptbooleanno—
promptstringno—May be null.
paramsobjectno—May be null.
mediaobject[]yes—
media[].rolestringyes—primary is the work as it was made; the rest are what the feeds draw: an image's thumbnail, a video's or a model's poster and thumbnail, a song's waveform (JSON: {version, peaks}). One of "primary", "poster", "preview", "thumbnail", "waveform".
media[].positionintegeryes—
media[].urlstringyes—Where to load it. Kept until its author unpublishes the work. A URL.
media[].content_typestringyes—
media[].widthintegeryes—May be null.
media[].heightintegeryes—May be null.
media[].duration_msintegeryes—May be null.
media[].suppliedbooleanyes—True for a poster, or its thumbnail, that the work's author supplied rather than one our services made: it is not what the model made, and the work's ai_generated does not describe it.
authorobject or nullno—
urlstringno—A URL.
request_idstringno—Mirrored in the X-Request-Id header.

Headers:

HeaderDescription
RateLimit-LimitBurst capacity.
RateLimit-Remaining
RateLimit-ResetSeconds until refill.
X-RateLimit-Limit
X-RateLimit-Remaining
X-RateLimit-ResetUnix seconds. The X- spelling is what client libraries read.
X-Request-Id

#401 Unauthorized

#403 Forbidden

#404 Not Found

#409 Conflict

#429 Too Many Requests

#503 Service Unavailable

#Status codes

StatusMeaning
200OK.
401Unauthorized
403Forbidden
404Not Found
409Conflict
429Too Many Requests
503Service Unavailable

Every refusal names its code, and every code is explained at Errors.

Start typing to search every page of the documentation.

Up arrow Down arrow to moveEnter to openEscape to close