Skip to content

Commit

Permalink
Update api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
olivercoad authored Apr 3, 2024
1 parent c2471ff commit cc8edfc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Use either `value`, `seed` or `guid` parameters to specify the face

`seed` *optional* **int** corresponding to the seed used in the random number generator to generate latents

`guid` *optional* **guid** globally unique identifier returned by [/api/registerlatent](#post-apiregisterlatent)
`guid` *optional* **guid** globally unique identifier returned by [/api/registerlatent](#post-apiregisterlatent) or [/api/encodeimage](#post-apiencodeimage)

`format` *optional* **string** if set to webp, returns a webp image. Defaults to jpg

Expand All @@ -67,7 +67,7 @@ Use either `value`, `seed` or `guid` parameters to specify the latent

`seed` *optional* **int** corresponding to the seed used in the random number generator to generate latents

`guid` *optional* **guid** globally unique identifier returned by [/api/registerlatent](#post-apiregisterlatent)
`guid` *optional* **guid** globally unique identifier returned by [/api/registerlatent](#post-apiregisterlatent) or [/api/encodeimage](#post-apiencodeimage)

### Returns

Expand Down Expand Up @@ -105,7 +105,7 @@ You can mix and match values, seeds and guids.

`from_seed`, `to_seed` *optional* **int** corresponding to the seed used in the random number generator to generate latents

`from_guid`, `to_guid` *optional* **guid** globally unique identifier returned by [/api/registerlatent](#post-apiregisterlatent)
`from_guid`, `to_guid` *optional* **guid** globally unique identifier returned by [/api/registerlatent](#post-apiregisterlatent) or [/api/encodeimage](#post-apiencodeimage)

### Returns

Expand Down Expand Up @@ -136,7 +136,7 @@ You can mix and match values, seeds and guids.

`from_seed`, `to_seed` *optional* **int** corresponding to the seed used in the random number generator to generate latents

`from_guid`, `to_guid` *optional* **guid** globally unique identifier returned by [/api/registerlatent](#post-apiregisterlatent)
`from_guid`, `to_guid` *optional* **guid** globally unique identifier returned by [/api/registerlatent](#post-apiregisterlatent) or [/api/encodeimage](#post-apiencodeimage)

### Returns

Expand Down Expand Up @@ -169,7 +169,7 @@ This is useful when trying out the api in a browser manually.

`from_seed`, `to_seed` *optional* **int** corresponding to the seed used in the random number generator to generate latents

`from_guid`, `to_guid` *optional* **guid** globally unique identifier returned by [/api/registerlatent](#post-apiregisterlatent)
`from_guid`, `to_guid` *optional* **guid** globally unique identifier returned by [/api/registerlatent](#post-apiregisterlatent) or [/api/encodeimage](#post-apiencodeimage)

`embed_html` *optional* **boolean** determines whether the response is embedded in an HTML document and loops

Expand Down

0 comments on commit cc8edfc

Please sign in to comment.