---
# System prepended metadata

title: Andrey Makrushin API Reference

---


# Andrey Makrushin API Reference
Diese Endpoints wurden aus einer E-Mail von Andrey Makrushin vom 28.07.2022 entnommen. Sie dienen als Schnittstelle zu den verwendeten Modellen zur Generierung von Fingerabdrücken.

## Endpoints

### StyleGAN

* Request : `POST /api/stylegan/generate`
* Parameter:
	* seed **[Integer]**: 123456789
	* gpu **[Integer]**:  0 or 1
* Return:
	* 200 OK:
		* message **[String]**: 'Success: Synthetic fingerprint is stored in /vol1/makrushin/docker-data//temp_generated_images/fp'+SEED+'.png'

### StyleGAN2

* Request : `POST /api/stylegan/generate`
* Parameter:
	* seed **[Integer]**: 123456789
	* gpu **[Integer]**:  0 or 1
	* truncation **[Float]**:  0.0 to 1.0
* Return:
	* 200 OK:
		* message **[String]**: 'Success: Synthetic fingerprint is stored in /vol1/makrushin/docker-data//temp_generated_images/fp'+SEED+'.png'

### ProgressiveGAN

* Request : `POST /api/stylegan/generate`
* Parameter:
	* seed **[Integer]**: 123456789
	* gpu **[Integer]**:  0 or 1
* Return:
	* 200 OK:
		* message **[String]**: 'Success: Synthetic fingerprint is stored in /vol1/makrushin/docker-data//temp_generated_images/fp'+SEED+'.png'

### Pix2Pix

* Request : `POST /api/stylegan/generate`
* Parameter:
	* minutiaemap **[Image/Blob]**: -
	* representation **[String]**:  e.g. PointingMinutiae
* Return:
	* 200 OK:
		* message **[String]**: 'Success: Synthetic fingerprint is stored in /vol1/trebeljahr/andrey/images/'+output_file_name+'_fake_B.png'